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
|
||||
|
||||
public:
|
||||
explicit ClassList(QWidget *parent = 0);
|
||||
explicit ClassList(QWidget *parent = nullptr);
|
||||
|
||||
QString className(int row) const;
|
||||
|
||||
|
||||
@@ -86,10 +86,10 @@ public:
|
||||
QString makefile() const;
|
||||
|
||||
enum MakefileState { MakefileMatches, MakefileForWrongProject, MakefileIncompatible, MakefileMissing };
|
||||
MakefileState compareToImportFrom(const QString &makefile, QString *errorString = 0);
|
||||
static Utils::FileName extractSpecFromArguments(QString *arguments,
|
||||
const QString &directory, const QtSupport::BaseQtVersion *version,
|
||||
QStringList *outArgs = 0);
|
||||
MakefileState compareToImportFrom(const QString &makefile, QString *errorString = nullptr);
|
||||
static Utils::FileName extractSpecFromArguments(
|
||||
QString *arguments, const QString &directory, const QtSupport::BaseQtVersion *version,
|
||||
QStringList *outArgs = nullptr);
|
||||
|
||||
QVariantMap toMap() const override;
|
||||
|
||||
@@ -136,7 +136,7 @@ private:
|
||||
|
||||
bool m_shadowBuild = true;
|
||||
bool m_isEnabled = true;
|
||||
QtSupport::BaseQtVersion::QmakeBuildConfigs m_qmakeBuildConfiguration = 0;
|
||||
QtSupport::BaseQtVersion::QmakeBuildConfigs m_qmakeBuildConfiguration = nullptr;
|
||||
QmakeProFileNode *m_subNodeBuild = nullptr;
|
||||
ProjectExplorer::FileNode *m_fileNodeBuild = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user