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:
Hennadii Stepanov
2022-12-16 11:58:38 +00:00
parent 5055d07edf
commit 69eacf2c5e
61 changed files with 108 additions and 167 deletions

View File

@@ -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);
}