Skip to content

Commit

Permalink
Merge pull request #1203 from manongjohn/fix_macos_preference_ui
Browse files Browse the repository at this point in the history
Fix macOS Preference UI issues
  • Loading branch information
manongjohn committed Aug 26, 2023
2 parents 482bd6c + a4d4808 commit 7bf734a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toonz/sources/toonz/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,15 +446,15 @@ int main(int argc, char *argv[]) {
}
#endif

TEnv::setApplicationFileName(argv[0]);

// Set show icons in menus flag (use iconVisibleInMenu to disable selectively)
bool dontShowIcon =
!Preferences::instance()->isShowAdvancedOptionsEnabled() ||
!Preferences::instance()->getBoolValue(showIconsInMenu);
QApplication::instance()->setAttribute(Qt::AA_DontShowIconsInMenus,
dontShowIcon);

TEnv::setApplicationFileName(argv[0]);

// splash screen
QPixmap splashPixmap =
QIcon(":Resources/tahoma2d_splash.svg").pixmap(QSize(344, 344));
Expand Down

0 comments on commit 7bf734a

Please sign in to comment.