From 82b062d2e9a07cd5d1cb27489a87fbd2f0dc8b7d Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 3 Feb 2023 18:47:44 +0100 Subject: [PATCH] prefer initialization of attribute inline done with clang-tidy run-clang-tidy -p build -config="{Checks: '*', CheckOptions: [{key: UseAssignment, value: true}]}" -checks='-*,modernize-use-default-member-init' -fix Signed-off-by: Matthieu Gallien --- src/gui/selectivesyncdialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/selectivesyncdialog.cpp b/src/gui/selectivesyncdialog.cpp index 33ad4c064..692306e4b 100644 --- a/src/gui/selectivesyncdialog.cpp +++ b/src/gui/selectivesyncdialog.cpp @@ -481,7 +481,6 @@ qint64 SelectiveSyncWidget::estimatedSize(QTreeWidgetItem *root) SelectiveSyncDialog::SelectiveSyncDialog(AccountPtr account, Folder *folder, QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) , _folder(folder) - , _okButton(nullptr) // defined in init() { bool ok = false; init(account);