From 7e3042c4f40f951ff1bf99877bb2555d0b598bc9 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 21 Aug 2020 23:40:44 +0200 Subject: [PATCH] Remove AA_DontShowIconsInMenus Possible fix for #516 --- src/main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 36a9ac9cd..96a7321f2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -196,14 +196,8 @@ int main(int argc, char* argv[]) { QCoreApplication::setLibraryPaths(QStringList() << QCoreApplication::applicationDirPath() + "/" + USE_BUNDLE_DIR); #endif -#ifndef Q_OS_MACOS // Gnome on Ubuntu has menu icons disabled by default. I think that's a bad idea, and makes some menus in Strawberry look confusing. QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, false); -#else - QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, true); - // Fixes focus issue with NSSearchField, see QTBUG-11401 - QCoreApplication::setAttribute(Qt::AA_NativeWindows, true); -#endif // Set the permissions on the config file on Unix - it can contain passwords for internet services so it's important that other users can't read it. // On Windows these are stored in the registry instead.