Don't show icons in menus on Mac.
This commit is contained in:
parent
c598acc06c
commit
964d6a5e42
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,9 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#ifdef Q_OS_MAC
|
||||
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
|
||||
#endif
|
||||
|
||||
// Register needed metatypes.
|
||||
qRegisterMetaType<QList<Message> >("QList<Message>");
|
||||
|
|
Loading…
Add table
Reference in a new issue