summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qshortcut
diff options
context:
space:
mode:
authorDebao Zhang <hello@debao.me>2013-03-25 17:46:53 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-27 06:01:11 +0100
commit90d74f86029d4761babf046056ff8647536fc348 (patch)
tree71074b45ae6d32b9325af6d18ad846133a37346c /tests/auto/widgets/kernel/qshortcut
parentf57a3c0ba3e0747604a23de00e740a6547d07cdf (diff)
QtWidgets tests: Don't call the empty function QApplication::syncX()
Change-Id: I2c732afd43586209cf5a2b72caac53e34abb9090 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto/widgets/kernel/qshortcut')
-rw-r--r--tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp b/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp
index 1958ebfab1..962fd3a8ab 100644
--- a/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp
+++ b/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp
@@ -610,7 +610,6 @@ void tst_QShortcut::disabledItems()
{
clearAllShortcuts();
mainW->activateWindow();
- qApp->syncX();
QTest::qWait(100);
/* Testing Disabled Shortcuts
@@ -1072,7 +1071,6 @@ void tst_QShortcut::context()
// Changing focus to 'other2' should make the Focus context there work
other2->activateWindow();
other2->setFocus(); // ###
- qApp->syncX();
QTRY_COMPARE(qApp->activeWindow(), other2->window());
QCOMPARE(qApp->focusWidget(), (QWidget *)other2);