mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 19:55:53 +01:00
Added debug output for tiles
This commit is contained in:
parent
e76439bb6e
commit
0fe7843e52
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user