mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 19:55:53 +01:00
Yet another retype for MSVC/qt6
This commit is contained in:
parent
f4ee36a173
commit
cb8c19a2bc
@ -14,8 +14,8 @@ static quint64 pointId(const QPoint &pos, quint32 type, quint32 labelPtr)
|
|||||||
{
|
{
|
||||||
quint64 id;
|
quint64 id;
|
||||||
|
|
||||||
uint hash = (uint)qHash(QPair<uint,uint>(qHash(QPair<int, int>(pos.x(),
|
uint hash = (uint)qHash(QPair<uint,uint>((uint)qHash(
|
||||||
pos.y())), labelPtr & 0x3FFFFF));
|
QPair<int, int>(pos.x(), pos.y())), labelPtr & 0x3FFFFF));
|
||||||
id = ((quint64)type)<<32 | hash;
|
id = ((quint64)type)<<32 | hash;
|
||||||
// Make country labels precedent over city labels
|
// Make country labels precedent over city labels
|
||||||
if (!(type >= 0x1400 && type <= 0x153f))
|
if (!(type >= 0x1400 && type <= 0x153f))
|
||||||
|
Loading…
Reference in New Issue
Block a user