Move where icons in menus attribute is set
Without this, icons are not visible on macOS
This commit is contained in:
committed by
Chris Hennes
parent
5302033c76
commit
1e91ad56bc
@@ -2283,6 +2283,10 @@ void Application::runApplication()
|
||||
MainWindow mw;
|
||||
mw.setProperty("QuitOnClosed", true);
|
||||
|
||||
// https://forum.freecad.org/viewtopic.php?f=3&t=15540
|
||||
// Needs to be set after app is created to override platform defaults (qt commit a2aa1f81a81)
|
||||
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus, false);
|
||||
|
||||
#ifdef FC_DEBUG // redirect Coin messages to FreeCAD
|
||||
SoDebugError::setHandlerCallback(messageHandlerCoin, 0);
|
||||
#endif
|
||||
|
||||
@@ -107,8 +107,6 @@ void StartupProcess::setupApplication()
|
||||
// compression for tablet events here to solve that.
|
||||
QCoreApplication::setAttribute(Qt::AA_CompressTabletEvents);
|
||||
#endif
|
||||
// https://forum.freecad.org/viewtopic.php?f=3&t=15540
|
||||
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus, false);
|
||||
}
|
||||
|
||||
void StartupProcess::execute()
|
||||
|
||||
Reference in New Issue
Block a user