forked from qt-creator/qt-creator
Remove last Q_NULLPTR usage
Change-Id: I8a55a9f1927e6db979d61eb4702f2ebde8d27572 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Laurent Montel
parent
f3c8a2db1e
commit
cb8d0f0678
@@ -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;
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user