1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 12:12:08 +01:00

Do not show the "Print" button in the toolbar on OS X

(As we are using buttons with text on OS X, the space is very limited)
This commit is contained in:
Martin Tůma 2021-09-02 12:47:29 +02:00
parent a073c93e0d
commit 3709a3feb5

View File

@ -664,7 +664,9 @@ void GUI::createToolBars()
_fileToolBar->addAction(_openFileAction); _fileToolBar->addAction(_openFileAction);
_fileToolBar->addAction(_reloadFileAction); _fileToolBar->addAction(_reloadFileAction);
_fileToolBar->addAction(_closeFileAction); _fileToolBar->addAction(_closeFileAction);
#ifndef Q_OS_MAC
_fileToolBar->addAction(_printFileAction); _fileToolBar->addAction(_printFileAction);
#endif // Q_OS_MAC
_showToolBar = addToolBar(tr("Show")); _showToolBar = addToolBar(tr("Show"));
_showToolBar->setObjectName("Show"); _showToolBar->setObjectName("Show");