1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

32 layers ought to be enough for anybody

This commit is contained in:
Martin Tůma 2020-04-30 21:46:41 +02:00
parent a958544667
commit 8965f450ce

View File

@ -25,7 +25,7 @@ static QList<MapData*> overlays(const QString &fileName)
{ {
QList<MapData*> list; QList<MapData*> list;
for (int i = 1; ; i++) { for (int i = 1; i < 32; i++) {
QString ol(fileName + "." + QString::number(i)); QString ol(fileName + "." + QString::number(i));
if (QFileInfo(ol).isFile()) { if (QFileInfo(ol).isFile()) {
MapData *data = new IMG(ol); MapData *data = new IMG(ol);