mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-07 10:21:11 +02:00
scripted-diff: Remove unused "What's This" button in dialogs on Windows
-BEGIN VERIFY SCRIPT- git grep -l 'QDialog(parent)' -- src/qt | xargs sed -i -E 's/QDialog\(parent\)/QDialog\(parent, GUIUtil::dialog_flags\)/g' -END VERIFY SCRIPT-
This commit is contained in:
parent
b6951483ec
commit
ac7ccd67d7
@ -56,7 +56,7 @@ protected:
|
||||
};
|
||||
|
||||
AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode, Tabs _tab, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::AddressBookPage),
|
||||
model(nullptr),
|
||||
mode(_mode),
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <QPushButton>
|
||||
|
||||
AskPassphraseDialog::AskPassphraseDialog(Mode _mode, QWidget *parent, SecureString* passphrase_out) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::AskPassphraseDialog),
|
||||
mode(_mode),
|
||||
model(nullptr),
|
||||
|
@ -42,7 +42,7 @@ bool CCoinControlWidgetItem::operator<(const QTreeWidgetItem &other) const {
|
||||
}
|
||||
|
||||
CoinControlDialog::CoinControlDialog(CCoinControl& coin_control, WalletModel* _model, const PlatformStyle *_platformStyle, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::CoinControlDialog),
|
||||
m_coin_control(coin_control),
|
||||
model(_model),
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <QPushButton>
|
||||
|
||||
CreateWalletDialog::CreateWalletDialog(QWidget* parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::CreateWalletDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
|
||||
EditAddressDialog::EditAddressDialog(Mode _mode, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::EditAddressDialog),
|
||||
mapper(nullptr),
|
||||
mode(_mode),
|
||||
|
@ -119,7 +119,7 @@ int GetPruneTargetGB()
|
||||
} // namespace
|
||||
|
||||
Intro::Intro(QWidget *parent, int64_t blockchain_size_gb, int64_t chain_state_size_gb) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::Intro),
|
||||
thread(nullptr),
|
||||
signalled(false),
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <QUrl>
|
||||
|
||||
OpenURIDialog::OpenURIDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::OpenURIDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <QTimer>
|
||||
|
||||
OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::OptionsDialog),
|
||||
model(nullptr),
|
||||
mapper(nullptr)
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
PSBTOperationsDialog::PSBTOperationsDialog(
|
||||
QWidget* parent, WalletModel* wallet_model, ClientModel* client_model) : QDialog(parent),
|
||||
QWidget* parent, WalletModel* wallet_model, ClientModel* client_model) : QDialog(parent, GUIUtil::dialog_flags),
|
||||
m_ui(new Ui::PSBTOperationsDialog),
|
||||
m_wallet_model(wallet_model),
|
||||
m_client_model(client_model)
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <QTextDocument>
|
||||
|
||||
ReceiveCoinsDialog::ReceiveCoinsDialog(const PlatformStyle *_platformStyle, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::ReceiveCoinsDialog),
|
||||
columnResizingFixer(nullptr),
|
||||
model(nullptr),
|
||||
|
@ -19,7 +19,7 @@
|
||||
#endif
|
||||
|
||||
ReceiveRequestDialog::ReceiveRequestDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::ReceiveRequestDialog),
|
||||
model(nullptr)
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ int getIndexForConfTarget(int target) {
|
||||
}
|
||||
|
||||
SendCoinsDialog::SendCoinsDialog(const PlatformStyle *_platformStyle, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::SendCoinsDialog),
|
||||
clientModel(nullptr),
|
||||
model(nullptr),
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <QClipboard>
|
||||
|
||||
SignVerifyMessageDialog::SignVerifyMessageDialog(const PlatformStyle *_platformStyle, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::SignVerifyMessageDialog),
|
||||
model(nullptr),
|
||||
platformStyle(_platformStyle)
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <QModelIndex>
|
||||
|
||||
TransactionDescDialog::TransactionDescDialog(const QModelIndex &idx, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::TransactionDescDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
/** "Help message" or "About" dialog box */
|
||||
HelpMessageDialog::HelpMessageDialog(QWidget *parent, bool about) :
|
||||
QDialog(parent),
|
||||
QDialog(parent, GUIUtil::dialog_flags),
|
||||
ui(new Ui::HelpMessageDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user