summaryrefslogtreecommitdiff
path: root/src/widgets/graphicsview/qgraphicsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsview.h')
-rw-r--r--src/widgets/graphicsview/qgraphicsview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/graphicsview/qgraphicsview.h b/src/widgets/graphicsview/qgraphicsview.h
index 20273ad068..e02fba69c9 100644
--- a/src/widgets/graphicsview/qgraphicsview.h
+++ b/src/widgets/graphicsview/qgraphicsview.h
@@ -114,8 +114,8 @@ public:
};
Q_DECLARE_FLAGS(OptimizationFlags, OptimizationFlag)
- QGraphicsView(QWidget *parent = Q_NULLPTR);
- QGraphicsView(QGraphicsScene *scene, QWidget *parent = Q_NULLPTR);
+ QGraphicsView(QWidget *parent = nullptr);
+ QGraphicsView(QGraphicsScene *scene, QWidget *parent = nullptr);
~QGraphicsView();
QSize sizeHint() const override;
@@ -236,7 +236,7 @@ protected Q_SLOTS:
void setupViewport(QWidget *widget) override;
protected:
- QGraphicsView(QGraphicsViewPrivate &, QWidget *parent = Q_NULLPTR);
+ QGraphicsView(QGraphicsViewPrivate &, QWidget *parent = nullptr);
bool event(QEvent *event) override;
bool viewportEvent(QEvent *event) override;