aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/menu
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-01-25 15:14:27 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-01-28 09:29:39 +0000
commit2ed9dc9cbb6fbf3a68780b48a456ce3ef9bf82c0 (patch)
tree46621e3d80423c47f0b6d9b0f6d083824da95390 /tests/auto/menu
parent147c215ec9174c394bcaa2c33760df735f4d1ebf (diff)
AbstractButton: remove the mouse params from signals
If we ever want to expose these, the name would be something else than "mouse"... :) Change-Id: Ie9dad16e84708059fd0b43d4764925db7b014d64 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/menu')
-rw-r--r--tests/auto/menu/tst_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/menu/tst_menu.cpp b/tests/auto/menu/tst_menu.cpp
index d072af4b..825867cf 100644
--- a/tests/auto/menu/tst_menu.cpp
+++ b/tests/auto/menu/tst_menu.cpp
@@ -89,7 +89,7 @@ void tst_menu::mouse()
QVERIFY(window->overlay()->childItems().contains(menu->contentItem()->parentItem()));
QQuickItem *firstItem = menu->itemAt(0);
- QSignalSpy clickedSpy(firstItem, SIGNAL(clicked(QQuickMouseEvent*)));
+ QSignalSpy clickedSpy(firstItem, SIGNAL(clicked()));
QSignalSpy triggeredSpy(firstItem, SIGNAL(triggered()));
QSignalSpy visibleSpy(menu, SIGNAL(visibleChanged()));