summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@theqtcompany.com>2015-02-05 19:44:59 +0100
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-02-06 08:57:48 +0000
commit4d3d552349bc848c48566fe756f27e314d62c40a (patch)
treec3856818940860058a3a233d8a9e6d7f626b970d /tests
parent3b997310ff9299949481eeb68541a5a4752b4aaf (diff)
Fix Back/Forward menus
We used private API from controls, knowing the risks, and indeed, the API changed... Change-Id: Ieb6ae01f4fddbef09240b637012c3b3dfef4b049 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/quicktestbrowser/ButtonWithMenu.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/quicktestbrowser/ButtonWithMenu.qml b/tests/quicktestbrowser/ButtonWithMenu.qml
index 8058b958a..10f5dbbc3 100644
--- a/tests/quicktestbrowser/ButtonWithMenu.qml
+++ b/tests/quicktestbrowser/ButtonWithMenu.qml
@@ -47,7 +47,7 @@ ToolButton {
id: root
property Menu longPressMenu
function showMenu() {
- longPressMenu.__popup(0, root.height, 0)
+ longPressMenu.__popup(Qt.rect(0, root.height, 0, 0), 0)
}
Binding {