Remove last Q_NULLPTR usage

Change-Id: I8a55a9f1927e6db979d61eb4702f2ebde8d27572
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Montel Laurent
2017-02-20 15:37:21 +01:00
committed by Laurent Montel
parent f3c8a2db1e
commit cb8d0f0678
2 changed files with 2 additions and 2 deletions

View File

@@ -4888,7 +4888,7 @@ void MoveAllFuncDefOutside::match(const CppQuickFixInterface &interface, QuickFi
return; return;
// Determine if cursor is on a class which is not a base class // Determine if cursor is on a class which is not a base class
ClassSpecifierAST *classAST = Q_NULLPTR; ClassSpecifierAST *classAST = nullptr;
if (SimpleNameAST *nameAST = path.at(pathSize - 1)->asSimpleName()) { if (SimpleNameAST *nameAST = path.at(pathSize - 1)->asSimpleName()) {
if (!interface.isCursorOn(nameAST)) if (!interface.isCursorOn(nameAST))
return; return;

View File

@@ -37,7 +37,7 @@ class SessionView : public QTreeView {
Q_OBJECT Q_OBJECT
public: public:
explicit SessionView(QWidget *parent = Q_NULLPTR); explicit SessionView(QWidget *parent = nullptr);
void createNewSession(); void createNewSession();
void deleteCurrentSession(); void deleteCurrentSession();