mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Compare commits
4 Commits
762e374adf
...
225e6da48b
Author | SHA1 | Date | |
---|---|---|---|
225e6da48b | |||
23c398caf7 | |||
17ef334c4c | |||
b01dcc4569 |
@ -1171,6 +1171,8 @@ void GUI::loadData(const Data &data)
|
|||||||
|
|
||||||
for (int i = 0; i < _tabs.count(); i++)
|
for (int i = 0; i < _tabs.count(); i++)
|
||||||
graphs.append(_tabs.at(i)->loadData(data, _map));
|
graphs.append(_tabs.at(i)->loadData(data, _map));
|
||||||
|
/* Refreshing the splitter is necessary to update the map viewport and
|
||||||
|
properly fit the data! */
|
||||||
if (updateGraphTabs())
|
if (updateGraphTabs())
|
||||||
_splitter->refresh();
|
_splitter->refresh();
|
||||||
paths = _mapView->loadData(data);
|
paths = _mapView->loadData(data);
|
||||||
|
@ -12,6 +12,8 @@ int main(int argc, char *argv[])
|
|||||||
qRegisterMetaTypeStreamOperators<TimeZoneInfo>("TimeZoneInfo");
|
qRegisterMetaTypeStreamOperators<TimeZoneInfo>("TimeZoneInfo");
|
||||||
#else // QT6
|
#else // QT6
|
||||||
qRegisterMetaType<TimeZoneInfo>("TimeZoneInfo");
|
qRegisterMetaType<TimeZoneInfo>("TimeZoneInfo");
|
||||||
|
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(
|
||||||
|
Qt::HighDpiScaleFactorRoundingPolicy::Round);
|
||||||
#endif // QT6
|
#endif // QT6
|
||||||
|
|
||||||
QSurfaceFormat fmt;
|
QSurfaceFormat fmt;
|
||||||
|
Loading…
Reference in New Issue
Block a user