aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickdrawer_p_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-04-20 13:47:03 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-04-21 08:35:07 +0000
commit7c65f4f7e6167b868e3357d85dabe19e68f3c1b6 (patch)
treed53bbb1959214d0e2b95dfce0eb979dff8f11139 /src/quicktemplates2/qquickdrawer_p_p.h
parentbe10b714ca2233e3312383a91e6d33da31176ae1 (diff)
QQuickDrawerPrivate::startDrag(): remove superfluous argument
Popups used to have a valid window-pointer only when they were visible, but now the window is automatically looked up from the parent item. There is no need to pass the window pointer from the overlay anymore, because the drawer already knows the window. Change-Id: I9652607217a82af2be89f6ab4490431556e3d17c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickdrawer_p_p.h')
-rw-r--r--src/quicktemplates2/qquickdrawer_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickdrawer_p_p.h b/src/quicktemplates2/qquickdrawer_p_p.h
index ae873602..388e926b 100644
--- a/src/quicktemplates2/qquickdrawer_p_p.h
+++ b/src/quicktemplates2/qquickdrawer_p_p.h
@@ -70,7 +70,7 @@ public:
void reposition() override;
void resizeOverlay() override;
- bool startDrag(QQuickWindow *window, QMouseEvent *event);
+ bool startDrag(QMouseEvent *event);
bool grabMouse(QMouseEvent *event);
bool ungrabMouse(QMouseEvent *event);