From 3709a3feb5484d012d0fbf1272ad359caa002ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 2 Sep 2021 12:47:29 +0200 Subject: [PATCH] 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) --- src/GUI/gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp index a5708568..8b602262 100644 --- a/src/GUI/gui.cpp +++ b/src/GUI/gui.cpp @@ -664,7 +664,9 @@ void GUI::createToolBars() _fileToolBar->addAction(_openFileAction); _fileToolBar->addAction(_reloadFileAction); _fileToolBar->addAction(_closeFileAction); +#ifndef Q_OS_MAC _fileToolBar->addAction(_printFileAction); +#endif // Q_OS_MAC _showToolBar = addToolBar(tr("Show")); _showToolBar->setObjectName("Show");