mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Merge bitcoin-core/gui#85: Remove unused "What's This" button in dialogs on Windows OS
ac7ccd67d7scripted-diff: Remove unused "What's This" button in dialogs on Windows (Hennadii Stepanov)b6951483ecqt: Add flags to prevent a "What's This" button on Windows OS (Hennadii Stepanov) Pull request description: Fix #74. From [Qt docs](https://doc.qt.io/qt-5/qdialog.html#QDialog): > The widget flags _f_ are passed on to the `QWidget` constructor. If, for example, you don't want a **What's This** button in the title bar of the dialog, pass `Qt::WindowTitleHint | Qt::WindowSystemMenuHint` in _f_. Screenshot on Windows 10 (2004): - master (3ba25e3bdd)  - this PR (e322fe7e19ac504272d14b9b4f9b28b13df888ed)  ACKs for top commit: Bosch-0: tACKac7ccd67d7Tested on Windows 10.0.18363 Build 18363. promag: Code review ACKac7ccd67d7but with some suggestions. jonasschnelli: utACKac7ccd67d7Tree-SHA512: f6750a17b7203106cb4db5870becba1cef6a505d4edcc710ba131338bd3aae051510627e62c9bcb8345a7f497c614709e11aeb8f6ae3ea85967bbce2a8c69e64
This commit is contained in:
@@ -9,10 +9,12 @@
|
||||
#include <qt/createwalletdialog.h>
|
||||
#include <qt/forms/ui_createwalletdialog.h>
|
||||
|
||||
#include <qt/guiutil.h>
|
||||
|
||||
#include <QPushButton>
|
||||
|
||||
CreateWalletDialog::CreateWalletDialog(QWidget* parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::CreateWalletDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
Reference in New Issue
Block a user