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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2020-02-05 14:34:41 +0300
committerOlivier Goffart <olivier@woboq.com>2020-02-10 18:41:07 +0300
commitfc69d5271e674bde6b71ba46b1d86588b9b30705 (patch)
tree9b239a78d1404755ff151cdceb4943b57870c6b8 /src/gui/selectivesyncdialog.cpp
parent146d75a2d601509157a0fcd981ef0209926e7d6c (diff)
Run clang-tidy check for 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 a376ace3a..6bca6ddc5 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);