aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickcontrol_p_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-12-15 12:34:03 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-12-19 09:35:21 +0000
commitf5c13e141c9c9bf7b131da6948ebcfc01d82f160 (patch)
tree3f5e6d409612f36f230a7bb4e3eefc08940cca7e /src/quicktemplates2/qquickcontrol_p_p.h
parent6b89293b99e763589181fd1f75470712f52cee3c (diff)
Popups: use deferred execution
QQuickPopup is backed by a QQuickControl subclass aka QQuickPopupItem. However, since the QML engine sees "background" and "contentItem" as properties of QQuickPopup, we must ensure that the deferred properties are executed for the QQuickPopup wrapper object. Task-number: QTBUG-50992 Change-Id: I2ec055b382e41530a6f4a740cb80853c0181c21a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickcontrol_p_p.h')
-rw-r--r--src/quicktemplates2/qquickcontrol_p_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quicktemplates2/qquickcontrol_p_p.h b/src/quicktemplates2/qquickcontrol_p_p.h
index d8b1dd40..81fa03a4 100644
--- a/src/quicktemplates2/qquickcontrol_p_p.h
+++ b/src/quicktemplates2/qquickcontrol_p_p.h
@@ -127,8 +127,8 @@ public:
static bool calcHoverEnabled(const QQuickItem *item);
#endif
- void executeContentItem(bool complete = false);
- void executeBackground(bool complete = false);
+ virtual void executeContentItem(bool complete = false);
+ virtual void executeBackground(bool complete = false);
static void destroyDelegate(QObject *object, QObject *parent);