mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-26 23:09:03 +02:00
clang-tidy, qt: Fix modernize-use-default-member-init in headers
See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html
This commit is contained in:
@@ -7,10 +7,8 @@
|
||||
#include <qt/bitcoinaddressvalidator.h>
|
||||
#include <qt/guiconstants.h>
|
||||
|
||||
QValidatedLineEdit::QValidatedLineEdit(QWidget *parent) :
|
||||
QLineEdit(parent),
|
||||
valid(true),
|
||||
checkValidator(nullptr)
|
||||
QValidatedLineEdit::QValidatedLineEdit(QWidget* parent)
|
||||
: QLineEdit(parent)
|
||||
{
|
||||
connect(this, &QValidatedLineEdit::textChanged, this, &QValidatedLineEdit::markValid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user