mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01: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:
@@ -4,8 +4,8 @@
|
||||
|
||||
#include <qt/qvaluecombobox.h>
|
||||
|
||||
QValueComboBox::QValueComboBox(QWidget *parent) :
|
||||
QComboBox(parent), role(Qt::UserRole)
|
||||
QValueComboBox::QValueComboBox(QWidget* parent)
|
||||
: QComboBox(parent)
|
||||
{
|
||||
connect(this, qOverload<int>(&QComboBox::currentIndexChanged), this, &QValueComboBox::handleSelectionChanged);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user