File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -515,6 +515,9 @@ int GuiMain(int argc, char* argv[])
515
515
return EXIT_SUCCESS;
516
516
}
517
517
518
+ // Install global event filter that makes sure that long tooltips can be word-wrapped
519
+ app.installEventFilter (new GUIUtil::ToolTipToRichTextFilter (TOOLTIP_WRAP_THRESHOLD, &app));
520
+
518
521
// / 5. Now that settings and translations are available, ask user for data directory
519
522
// User language is set up: pick a data directory
520
523
if (!Intro::pickDataDirectory (*node))
@@ -575,8 +578,6 @@ int GuiMain(int argc, char* argv[])
575
578
#endif
576
579
577
580
// / 9. Main GUI initialization
578
- // Install global event filter that makes sure that long tooltips can be word-wrapped
579
- app.installEventFilter (new GUIUtil::ToolTipToRichTextFilter (TOOLTIP_WRAP_THRESHOLD, &app));
580
581
// Install global event filter that makes sure that out-of-focus labels do not contain text cursor.
581
582
app.installEventFilter (new GUIUtil::LabelOutOfFocusEventFilter (&app));
582
583
#if defined(Q_OS_WIN)
You can’t perform that action at this time.
0 commit comments