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 <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2023-02-03 18:47:44 +01:00
parent d2f5c6a5c7
commit 82b062d2e9
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553

View file

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