forked from qt-creator/qt-creator
QmakeProjectManager: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr. Change-Id: Ie03a95647d66b97782663b9ff87dbac595496326 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
07e67b2188
commit
79aa48e9a4
@@ -40,7 +40,7 @@ class ClassList : public QListView
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ClassList(QWidget *parent = 0);
|
explicit ClassList(QWidget *parent = nullptr);
|
||||||
|
|
||||||
QString className(int row) const;
|
QString className(int row) const;
|
||||||
|
|
||||||
|
|||||||
@@ -86,10 +86,10 @@ public:
|
|||||||
QString makefile() const;
|
QString makefile() const;
|
||||||
|
|
||||||
enum MakefileState { MakefileMatches, MakefileForWrongProject, MakefileIncompatible, MakefileMissing };
|
enum MakefileState { MakefileMatches, MakefileForWrongProject, MakefileIncompatible, MakefileMissing };
|
||||||
MakefileState compareToImportFrom(const QString &makefile, QString *errorString = 0);
|
MakefileState compareToImportFrom(const QString &makefile, QString *errorString = nullptr);
|
||||||
static Utils::FileName extractSpecFromArguments(QString *arguments,
|
static Utils::FileName extractSpecFromArguments(
|
||||||
const QString &directory, const QtSupport::BaseQtVersion *version,
|
QString *arguments, const QString &directory, const QtSupport::BaseQtVersion *version,
|
||||||
QStringList *outArgs = 0);
|
QStringList *outArgs = nullptr);
|
||||||
|
|
||||||
QVariantMap toMap() const override;
|
QVariantMap toMap() const override;
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@ private:
|
|||||||
|
|
||||||
bool m_shadowBuild = true;
|
bool m_shadowBuild = true;
|
||||||
bool m_isEnabled = true;
|
bool m_isEnabled = true;
|
||||||
QtSupport::BaseQtVersion::QmakeBuildConfigs m_qmakeBuildConfiguration = 0;
|
QtSupport::BaseQtVersion::QmakeBuildConfigs m_qmakeBuildConfiguration = nullptr;
|
||||||
QmakeProFileNode *m_subNodeBuild = nullptr;
|
QmakeProFileNode *m_subNodeBuild = nullptr;
|
||||||
ProjectExplorer::FileNode *m_fileNodeBuild = nullptr;
|
ProjectExplorer::FileNode *m_fileNodeBuild = nullptr;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user