Gui: set Qt attributes in setupApplication()
This commit is contained in:
@@ -2250,11 +2250,8 @@ void Application::runApplication()
|
||||
// A new QApplication
|
||||
Base::Console().Log("Init: Creating Gui::Application and QApplication\n");
|
||||
|
||||
// if application not yet created by the splasher
|
||||
int argc = App::Application::GetARGC();
|
||||
GUISingleApplication mainApp(argc, App::Application::GetARGV());
|
||||
// https://forum.freecad.org/viewtopic.php?f=3&t=15540
|
||||
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus, false);
|
||||
|
||||
// Make sure that we use '.' as decimal point. See also
|
||||
// http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559846
|
||||
|
||||
@@ -107,6 +107,8 @@ 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