Add an option to disable icons in menus

This commit is contained in:
Michał Kopeć 2021-02-19 16:11:52 +01:00
parent 529dd6e3a8
commit 614376ed64
5 changed files with 30 additions and 0 deletions

View file

@ -251,6 +251,9 @@ int main(int argc, char *argv[])
// On OS X the standard is to not show icons in the menus
app->setAttribute(Qt::AA_DontShowIconsInMenus);
#else
if (!Preferences::instance()->iconsInMenusEnabled())
app->setAttribute(Qt::AA_DontShowIconsInMenus);
#endif
if (!firstTimeUser)