mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Fine-tune OS X fullscreen layout
This commit is contained in:
parent
5f18498138
commit
e5d5c06a0e
@ -1400,6 +1400,9 @@ void GUI::showFullscreen(bool show)
|
||||
showToolbars(false);
|
||||
_mapView->setFrameStyle(QFrame::NoFrame);
|
||||
_graphTabWidget->tabBar()->hide();
|
||||
#ifdef Q_OS_MAC
|
||||
_graphTabWidget->setDocumentMode(true);
|
||||
#endif // Q_OS_MAC
|
||||
showFullScreen();
|
||||
} else {
|
||||
Q_ASSERT(!_windowGeometries.isEmpty());
|
||||
@ -1409,6 +1412,9 @@ void GUI::showFullscreen(bool show)
|
||||
showToolbars(true);
|
||||
_mapView->setFrameStyle(_frameStyle);
|
||||
_graphTabWidget->tabBar()->show();
|
||||
#ifdef Q_OS_MAC
|
||||
_graphTabWidget->setDocumentMode(false);
|
||||
#endif // Q_OS_MAC
|
||||
showNormal();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user