diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-06-04 16:21:32 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-06-25 13:01:14 +0000 |
commit | 92b3ef24ed35b405f50ac67b2e51e74eb384451b (patch) | |
tree | 8479aa5ac4b82cd92faf342736048af939b77e21 /tests/manual/windowchildgeometry | |
parent | f8944a7f07112c85dc4f66848cabb490514cd28e (diff) |
Fix window(child)geometry manual tests
Task-number: QTBUG-67632
Change-Id: I16482d3501cc7c7893d6eac4617c77dc70e1e215
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'tests/manual/windowchildgeometry')
-rw-r--r-- | tests/manual/windowchildgeometry/controllerwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/windowchildgeometry/controllerwidget.cpp b/tests/manual/windowchildgeometry/controllerwidget.cpp index 871313d983..396fad53dc 100644 --- a/tests/manual/windowchildgeometry/controllerwidget.cpp +++ b/tests/manual/windowchildgeometry/controllerwidget.cpp @@ -236,7 +236,7 @@ private: WidgetWindowControl::WidgetWindowControl(QWidget *w ) : BaseWindowControl(w) - , m_statesControl(new WindowStatesControl(WindowStatesControl::WantVisibleCheckBox | WindowStatesControl::WantActiveCheckBox)) + , m_statesControl(new WindowStatesControl) { setTitle(w->windowTitle()); m_layout->addWidget(m_statesControl, 2, 0); @@ -364,14 +364,14 @@ private: virtual void setObjectWindowFlags(QObject *o, Qt::WindowFlags f) { static_cast<QWindow *>(o)->setFlags(f); } - WindowStateControl *m_stateControl; + WindowStatesControl *m_statesControl; QWindow *m_window; QWindow *m_detachedParent; // set when this window is detached. This is the window we should re-attach to. }; WindowControl::WindowControl(QWindow *w ) : BaseWindowControl(w) - , m_stateControl(new WindowStateControl(WindowStateControl::WantVisibleCheckBox | WindowStateControl::WantMinimizeRadioButton)) + , m_statesControl(new WindowStatesControl) , m_window(w) , m_detachedParent(0) { |