diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-09-03 10:48:12 +0200 |
---|---|---|
committer | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-10-04 09:15:29 +0200 |
commit | 91c3c806a7f5760f4f327a9225e30129d76e33a1 (patch) | |
tree | 8d7c4e3b5ceb004d65fe8b549c8448044e1318b3 /src | |
parent | b3e67abc14563bf6b82a5375380168876e3369df (diff) |
Compositor: Change default of autoCreatePopupItems to true
Already ifdef'ed to true, but we can now update the examples.
[ChangeLog][Compositor] ShellSurfaceItem.autoCreatePopupItems
now defaults to true.
Task-number: QTBUG-68843
Change-Id: I9d7625e710c5c27b664678b459c09121b445fffc
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h b/src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h index f622368ab..02fbf696f 100644 --- a/src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h +++ b/src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h @@ -74,13 +74,7 @@ public: QWaylandQuickShellIntegration *m_shellIntegration = nullptr; QWaylandShellSurface *m_shellSurface = nullptr; QQuickItem *m_moveItem = nullptr; - bool m_autoCreatePopupItems = -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) - true; -#else - false; -#endif - + bool m_autoCreatePopupItems = true; }; class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandQuickShellEventFilter : public QObject |