Disable menu icons for osx.

https://gitorious.org/keepassx/keepassx/merge_requests/23
This commit is contained in:
Tobias Tangemann 2013-03-30 11:16:24 +01:00 committed by Felix Geyer
parent 9e87230102
commit ef46b3e8ad

View File

@ -43,6 +43,11 @@ int main(int argc, char** argv)
Config::createConfigFromFile(argumentMap.value("config")); 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 mainWindow;
mainWindow.show(); mainWindow.show();