diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-05 20:12:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-06 12:42:54 (GMT) |
commit | 62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c (patch) | |
tree | cd026021827cb17c148aeee234fb957ac6f4fc86 /Source/QtDialog/QCMakeWidgets.h | |
parent | bfdf1322e7638687c96b323b1df20fd9c08b3044 (diff) | |
download | CMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.zip CMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.tar.gz CMake-62c5f9afc3bbe1e83ee63a1a8b9fe56b30c4849c.tar.bz2 |
QtDialog: fix clang-tidy warnings
Diffstat (limited to 'Source/QtDialog/QCMakeWidgets.h')
-rw-r--r-- | Source/QtDialog/QCMakeWidgets.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/QtDialog/QCMakeWidgets.h b/Source/QtDialog/QCMakeWidgets.h index f1e87ce..0d95e63 100644 --- a/Source/QtDialog/QCMakeWidgets.h +++ b/Source/QtDialog/QCMakeWidgets.h @@ -13,6 +13,8 @@ #ifndef QCMakeWidgets_h #define QCMakeWidgets_h +#include <cmConfigure.h> + #include <QComboBox> #include <QCompleter> #include <QLineEdit> @@ -43,7 +45,7 @@ class QCMakePathEditor : public QCMakeFileEditor { Q_OBJECT public: - QCMakePathEditor(QWidget* p = NULL, const QString& var = QString()); + QCMakePathEditor(QWidget* p = CM_NULLPTR, const QString& var = QString()); void chooseFile(); }; @@ -52,7 +54,8 @@ class QCMakeFilePathEditor : public QCMakeFileEditor { Q_OBJECT public: - QCMakeFilePathEditor(QWidget* p = NULL, const QString& var = QString()); + QCMakeFilePathEditor(QWidget* p = CM_NULLPTR, + const QString& var = QString()); void chooseFile(); }; |