1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-04 06:49:16 +02:00

Now consistently using QT OS defines

This commit is contained in:
2015-12-01 23:13:20 +01:00
parent 413a9b25c4
commit e583158492
2 changed files with 8 additions and 8 deletions

View File

@ -204,10 +204,10 @@ void GUI::createMenus()
_fileMenu->addAction(_reloadFileAction);
_fileMenu->addSeparator();
_fileMenu->addAction(_closeFileAction);
#ifndef __APPLE__
#ifndef Q_OS_MAC
_fileMenu->addSeparator();
_fileMenu->addAction(_exitAction);
#endif // __APPLE__
#endif // Q_OS_MAC
_mapMenu = menuBar()->addMenu(tr("Map"));
_mapMenu->addActions(_mapActions);
@ -237,16 +237,16 @@ void GUI::createToolBars()
_fileToolBar->addAction(_saveFileAction);
_fileToolBar->addAction(_reloadFileAction);
_fileToolBar->addAction(_closeFileAction);
#ifdef __APPLE__
#ifdef Q_OS_MAC
_fileToolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
#endif // __APPLE__
#endif // Q_OS_MAC
_showToolBar = addToolBar(tr("Show"));
_showToolBar->addAction(_showPOIAction);
_showToolBar->addAction(_showMapAction);
#ifdef __APPLE__
#ifdef Q_OS_MAC
_showToolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
#endif // __APPLE__
#endif // Q_OS_MAC
}
void GUI::createTrackView()