mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Code cleanup
This commit is contained in:
parent
4de22d6679
commit
3f97d12a76
@ -55,10 +55,8 @@ static QString quadKey(const QPoint &xy, int zoom)
|
||||
unsigned mask = 1 << (i - 1);
|
||||
if (xy.x() & mask)
|
||||
digit++;
|
||||
if (xy.y() & mask) {
|
||||
digit++;
|
||||
digit++;
|
||||
}
|
||||
if (xy.y() & mask)
|
||||
digit += 2;
|
||||
qk.append(digit);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user