1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Added debug output for tiles

This commit is contained in:
Martin Tůma 2017-11-14 22:15:46 +01:00
parent e76439bb6e
commit 0fe7843e52

View File

@ -3,6 +3,7 @@
#include <QPixmap> #include <QPixmap>
#include <QPoint> #include <QPoint>
#include <QDebug>
class Tile class Tile
{ {
@ -20,4 +21,10 @@ private:
QPixmap _pixmap; QPixmap _pixmap;
}; };
inline QDebug operator<<(QDebug dbg, const Tile &tile)
{
dbg.nospace() << "Tile(" << tile.zoom() << ", " << tile.xy() << ")";
return dbg.maybeSpace();
}
#endif // TILE_H #endif // TILE_H