diff options
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 2bd94b5eb3..ea72ec0ffa 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -43,6 +43,9 @@ QT_END_NAMESPACE */ namespace GUIUtil { + // Use this flags to prevent a "What's This" button in the title bar of the dialog on Windows. + constexpr auto dialog_flags = Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint; + // Create human-readable string from date QString dateTimeStr(const QDateTime &datetime); QString dateTimeStr(qint64 nTime); |