summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp')
-rw-r--r--tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp b/tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp
index d3a087eefc..af472c6c8e 100644
--- a/tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp
+++ b/tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp
@@ -1254,10 +1254,8 @@ void tst_QShortcut::testElement()
if (action == ClearAll) {
clearAllShortcuts();
- QCOMPARE(TRUE, TRUE);
} else if (action == SetupAccel) {
setupShortcut(testWidget, txt, k1, k2, k3, k4);
- QCOMPARE(TRUE, TRUE);
} else {
sendKeyEvents(k1, c1, k2, c2, k3, c3, k4, c4);
QCOMPARE(int(currentResult), result);