mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge 9453fbf5a0 into merged_master (Bitcoin PR bitcoin-core/gui#20)
This commit is contained in:
commit
7af2bdc594
1 changed files with 3 additions and 2 deletions
|
|
@ -482,6 +482,9 @@ int GuiMain(int argc, char* argv[])
|
|||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
// Install global event filter that makes sure that long tooltips can be word-wrapped
|
||||
app.installEventFilter(new GUIUtil::ToolTipToRichTextFilter(TOOLTIP_WRAP_THRESHOLD, &app));
|
||||
|
||||
/// 5. Now that settings and translations are available, ask user for data directory
|
||||
// User language is set up: pick a data directory
|
||||
bool did_show_intro = false;
|
||||
|
|
@ -534,8 +537,6 @@ int GuiMain(int argc, char* argv[])
|
|||
/// 8. Payment server removed in Elements since we do not have "elements:" URIs
|
||||
|
||||
/// 9. Main GUI initialization
|
||||
// Install global event filter that makes sure that long tooltips can be word-wrapped
|
||||
app.installEventFilter(new GUIUtil::ToolTipToRichTextFilter(TOOLTIP_WRAP_THRESHOLD, &app));
|
||||
// Install global event filter that makes sure that out-of-focus labels do not contain text cursor.
|
||||
app.installEventFilter(new GUIUtil::LabelOutOfFocusEventFilter(&app));
|
||||
#if defined(Q_OS_WIN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue