diff --git a/src/map/IMG/trefile.cpp b/src/map/IMG/trefile.cpp index 533607ca..7ad8659e 100644 --- a/src/map/IMG/trefile.cpp +++ b/src/map/IMG/trefile.cpp @@ -329,13 +329,3 @@ QList TREFile::subdivs(const RectC &rect, int bits, return list; } - -#ifndef QT_NO_DEBUG -QDebug IMG::operator<<(QDebug dbg, const TREFile::MapLevel &level) -{ - dbg.nospace() << "MapLevel(" << level.level << "," << level.bits << ", " - << level.subdivs << ")"; - - return dbg.space(); -} -#endif // QT_NO_DEBUG diff --git a/src/map/IMG/trefile.h b/src/map/IMG/trefile.h index 4161a807..991515c0 100644 --- a/src/map/IMG/trefile.h +++ b/src/map/IMG/trefile.h @@ -42,8 +42,6 @@ private: }; typedef RTree SubDivTree; - friend QDebug operator<<(QDebug dbg, const MapLevel &level); - bool load(int idx); int level(int bits, const Range &baseMap); int readExtEntry(Handle &hdl, quint32 &polygons, quint32 &lines, @@ -59,9 +57,6 @@ private: QMap _subdivs; }; -#ifndef QT_NO_DEBUG -QDebug operator<<(QDebug dbg, const TREFile::MapLevel &level); -#endif // QT_NO_DEBUG } #endif // IMG_TREFILE_H