aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-06-07 18:00:36 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-07 09:37:27 +0300
commit13f618818dc57673ac0287ad8b28ceb450efb374 (patch)
tree5e1425c9bf6327ffaa876ba305e4e052a0b40b0c /src/qt/guiutil.h
parent503194d2ee3d32ce17178c8299c3881a5e1262a4 (diff)
downloadbitcoin-13f618818dc57673ac0287ad8b28ceb450efb374.tar.xz
qt: Add GUIUtil::ShowModalDialogAndDeleteOnClose
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r--src/qt/guiutil.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h
index 06a3b63668..274f0bdcbf 100644
--- a/src/qt/guiutil.h
+++ b/src/qt/guiutil.h
@@ -41,6 +41,7 @@ class QAbstractButton;
class QAbstractItemView;
class QAction;
class QDateTime;
+class QDialog;
class QFont;
class QKeySequence;
class QLineEdit;
@@ -417,6 +418,11 @@ namespace GUIUtil
type);
}
+ /**
+ * Shows a QDialog instance asynchronously, and deletes it on close.
+ */
+ void ShowModalDialogAndDeleteOnClose(QDialog* dialog);
+
} // namespace GUIUtil
#endif // BITCOIN_QT_GUIUTIL_H