diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-06-07 18:41:58 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-09-07 09:39:04 +0300 |
commit | 332dea2852d9c68f900ed1f0be99b6cea79c7457 (patch) | |
tree | 8a4e5ed4958132d2d104e19da5b7b87d50d74521 /src/qt/bitcoingui.cpp | |
parent | c8bae37a7a646badf8e79669bf06ac174e13cd6f (diff) | |
download | bitcoin-332dea2852d9c68f900ed1f0be99b6cea79c7457.tar.xz |
qt, refactor: Keep HelpMessageDialog in the main event loop
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r-- | src/qt/bitcoingui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 7954a7dcc9..6ecd3c0f5c 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -848,8 +848,8 @@ void BitcoinGUI::aboutClicked() if(!clientModel) return; - HelpMessageDialog dlg(this, true); - dlg.exec(); + auto dlg = new HelpMessageDialog(this, /* about */ true); + GUIUtil::ShowModalDialogAndDeleteOnClose(dlg); } void BitcoinGUI::showDebugWindow() |