Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@gmail.com>2018-11-11 12:56:22 +0300
committerJ-P Nurmi <jpnurmi@gmail.com>2018-11-11 12:56:22 +0300
commitfb5ff96ed6b817233eb9092b94bb36d1a6766859 (patch)
treeb188d8b3f7322f97937a8285bab7f5e0b55247e0 /src/gui/selectivesyncdialog.cpp
parent371001c9ffea5e99abe971fcb155af64f25b024b (diff)
GUI: run clang-tidy modernize-use-nullptr
Diffstat (limited to 'src/gui/selectivesyncdialog.cpp')
-rw-r--r--src/gui/selectivesyncdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/selectivesyncdialog.cpp b/src/gui/selectivesyncdialog.cpp
index 7355e51ac..ea1f3618e 100644
--- a/src/gui/selectivesyncdialog.cpp
+++ b/src/gui/selectivesyncdialog.cpp
@@ -139,7 +139,7 @@ static QTreeWidgetItem *findFirstChild(QTreeWidgetItem *parent, const QString &t
return child;
}
}
- return 0;
+ return nullptr;
}
void SelectiveSyncWidget::recursiveInsert(QTreeWidgetItem *parent, QStringList pathTrail, QString path, qint64 size)
@@ -431,7 +431,7 @@ qint64 SelectiveSyncWidget::estimatedSize(QTreeWidgetItem *root)
SelectiveSyncDialog::SelectiveSyncDialog(AccountPtr account, Folder *folder, QWidget *parent, Qt::WindowFlags f)
: QDialog(parent, f)
, _folder(folder)
- , _okButton(0) // defined in init()
+ , _okButton(nullptr) // defined in init()
{
bool ok;
init(account);
@@ -448,7 +448,7 @@ SelectiveSyncDialog::SelectiveSyncDialog(AccountPtr account, Folder *folder, QWi
SelectiveSyncDialog::SelectiveSyncDialog(AccountPtr account, const QString &folder,
const QStringList &blacklist, QWidget *parent, Qt::WindowFlags f)
: QDialog(parent, f)
- , _folder(0)
+ , _folder(nullptr)
{
init(account);
_selectiveSync->setFolderInfo(folder, folder, blacklist);