aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickpopup_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-09-03 15:39:04 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-09-05 15:59:10 +0000
commit14dd934c3203b614e43be9fa5b17761d43092351 (patch)
treef9027f1b1961842bb5ea2e2aa5fdc2302f3c4ad4 /src/quicktemplates2/qquickpopup_p.h
parent6f3f262574d2bb0cf7ccd5148f29e078aef8d16a (diff)
Use QQuickOverlay with plain QQuickWindow
Get rid of the ugly and broken event filter approach that was used with QQuickWindow. Create an instance of QQuickOverlay so that the same overlay code path is used for both QQuickApplicationWindow and plain QQuickWindow. Task-number: QTBUG-55729 Change-Id: I6e26b19cd94a9580418912803f50c30b9dcaeedb Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickpopup_p.h')
-rw-r--r--src/quicktemplates2/qquickpopup_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickpopup_p.h b/src/quicktemplates2/qquickpopup_p.h
index be6a8e22..9ef5c64b 100644
--- a/src/quicktemplates2/qquickpopup_p.h
+++ b/src/quicktemplates2/qquickpopup_p.h
@@ -334,7 +334,6 @@ protected:
void componentComplete() override;
bool isComponentComplete() const;
- bool eventFilter(QObject *object, QEvent *event) override;
virtual bool childMouseEventFilter(QQuickItem *child, QEvent *event);
virtual void focusInEvent(QFocusEvent *event);
virtual void focusOutEvent(QFocusEvent *event);