aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickwindow_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickwindow_p.h')
-rw-r--r--src/quick/items/qquickwindow_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h
index ad861754d7..e29ceb521f 100644
--- a/src/quick/items/qquickwindow_p.h
+++ b/src/quick/items/qquickwindow_p.h
@@ -191,7 +191,7 @@ public:
void updateEffectiveOpacityRoot(QQuickItem *, qreal);
void updateDirtyNode(QQuickItem *);
- void fireFrameSwapped() { emit q_func()->frameSwapped(); }
+ void fireFrameSwapped() { Q_EMIT q_func()->frameSwapped(); }
QSGContext *context;
QSGRenderer *renderer;
@@ -221,7 +221,7 @@ public:
static bool defaultAlphaBuffer;
- static bool dragOverThreshold(qreal d, Qt::Axis axis, QMouseEvent *event);
+ static bool dragOverThreshold(qreal d, Qt::Axis axis, QMouseEvent *event, int startDragThreshold = -1);
// data property
static void data_append(QQmlListProperty<QObject> *, QObject *);