summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeWidgets.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-05 20:12:36 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-06 12:42:54 (GMT)
commit62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c (patch)
treecd026021827cb17c148aeee234fb957ac6f4fc86 /Source/QtDialog/QCMakeWidgets.cxx
parentbfdf1322e7638687c96b323b1df20fd9c08b3044 (diff)
downloadCMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.zip
CMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.tar.gz
CMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.tar.bz2
QtDialog: fix clang-tidy warnings
Diffstat (limited to 'Source/QtDialog/QCMakeWidgets.cxx')
-rw-r--r--Source/QtDialog/QCMakeWidgets.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/QtDialog/QCMakeWidgets.cxx b/Source/QtDialog/QCMakeWidgets.cxx
index 4b3eb34..fc481b8 100644
--- a/Source/QtDialog/QCMakeWidgets.cxx
+++ b/Source/QtDialog/QCMakeWidgets.cxx
@@ -67,7 +67,7 @@ void QCMakeFilePathEditor::chooseFile()
this->fileDialogExists(true);
path =
QFileDialog::getOpenFileName(this, title, info.absolutePath(), QString(),
- NULL, QFileDialog::DontResolveSymlinks);
+ CM_NULLPTR, QFileDialog::DontResolveSymlinks);
this->fileDialogExists(false);
if (!path.isEmpty()) {
@@ -99,7 +99,7 @@ void QCMakePathEditor::chooseFile()
// use same QDirModel for all completers
static QDirModel* fileDirModel()
{
- static QDirModel* m = NULL;
+ static QDirModel* m = CM_NULLPTR;
if (!m) {
m = new QDirModel();
}
@@ -107,7 +107,7 @@ static QDirModel* fileDirModel()
}
static QDirModel* pathDirModel()
{
- static QDirModel* m = NULL;
+ static QDirModel* m = CM_NULLPTR;
if (!m) {
m = new QDirModel();
m->setFilter(QDir::AllDirs | QDir::Drives | QDir::NoDotAndDotDot);