1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-09 16:54:28 +02:00

Removed the annoying map view re-zooming on window resize.

Fixes #74
This commit is contained in:
2019-06-10 19:12:34 +02:00
parent 3de0ed055a
commit 82b7fced53
3 changed files with 14 additions and 12 deletions

View File

@ -2216,6 +2216,8 @@ void GUI::show()
connect(w, SIGNAL(screenChanged(QScreen*)), this,
SLOT(screenChanged(QScreen*)));
#endif // ENABLE_HIDPI
_mapView->fitContentToSize();
}
void GUI::screenChanged(QScreen *screen)