diff options
Diffstat (limited to 'tests/manual/windowchildgeometry')
-rw-r--r-- | tests/manual/windowchildgeometry/controllerwidget.cpp | 2 | ||||
-rw-r--r-- | tests/manual/windowchildgeometry/controllerwidget.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/windowchildgeometry/controllerwidget.cpp b/tests/manual/windowchildgeometry/controllerwidget.cpp index 7a0a29fc61..1ceb785e9e 100644 --- a/tests/manual/windowchildgeometry/controllerwidget.cpp +++ b/tests/manual/windowchildgeometry/controllerwidget.cpp @@ -273,7 +273,7 @@ void WidgetWindowControl::statesChanged() class Window : public QWindow { public: - explicit Window(QWindow *parent = 0) + explicit Window(QWindow *parent = nullptr) : QWindow(parent) , m_backingStore(new QBackingStore(this)) , m_color(Qt::GlobalColor(QRandomGenerator::global()->bounded(18))) diff --git a/tests/manual/windowchildgeometry/controllerwidget.h b/tests/manual/windowchildgeometry/controllerwidget.h index 4744bfc905..d255953dd7 100644 --- a/tests/manual/windowchildgeometry/controllerwidget.h +++ b/tests/manual/windowchildgeometry/controllerwidget.h @@ -136,7 +136,7 @@ class ControllerWidget : public QMainWindow { Q_OBJECT public: - explicit ControllerWidget(QWidget *parent = 0); + explicit ControllerWidget(QWidget *parent = nullptr); ~ControllerWidget(); private: QScopedPointer<QWindow> m_testWindow; |