mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
qt: Add flags to prevent a "What's This" button on Windows OS
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#include <qt/createwalletdialog.h>
|
||||
#include <qt/forms/ui_createwalletdialog.h>
|
||||
|
||||
#include <qt/guiutil.h>
|
||||
|
||||
#include <QPushButton>
|
||||
|
||||
CreateWalletDialog::CreateWalletDialog(QWidget* parent) :
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <qt/forms/ui_receivecoinsdialog.h>
|
||||
|
||||
#include <qt/addresstablemodel.h>
|
||||
#include <qt/guiutil.h>
|
||||
#include <qt/optionsmodel.h>
|
||||
#include <qt/platformstyle.h>
|
||||
#include <qt/receiverequestdialog.h>
|
||||
|
||||
Reference in New Issue
Block a user