From ef46b3e8adae2dbabebecd483da3fdfc6c629dbc Mon Sep 17 00:00:00 2001 From: Tobias Tangemann Date: Sat, 30 Mar 2013 11:16:24 +0100 Subject: [PATCH] Disable menu icons for osx. https://gitorious.org/keepassx/keepassx/merge_requests/23 --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index a113a8a82..7687eca76 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,6 +43,11 @@ int main(int argc, char** argv) Config::createConfigFromFile(argumentMap.value("config")); } +#ifdef Q_OS_MAC + // Don't show menu icons on OSX + QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); +#endif + MainWindow mainWindow; mainWindow.show();