diff --git a/src/main.cpp b/src/main.cpp index 8d866316..89174d8d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -106,6 +106,12 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); vconfig.initialize(); +#if defined(Q_OS_MACOS) + // Do not show icons in menu on macOS since there is something wrong with + // the icon path on macOS. + app.setAttribute(Qt::AA_DontShowIconsInMenus); +#endif + QString locale = VUtils::getLocale(); qDebug() << "use locale" << locale;