summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestsystem.h
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-23 12:39:22 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-23 12:41:15 (GMT)
commitbbcef4e4b596324aeda80e0aa7d313c586454740 (patch)
tree502f6c54d5823282fbb73bb4eae1a10e56f45da2 /src/testlib/qtestsystem.h
parente5ecc1970e6d83fa69461a2bff22f43e5116f5f5 (diff)
downloadQt-bbcef4e4b596324aeda80e0aa7d313c586454740.zip
Qt-bbcef4e4b596324aeda80e0aa7d313c586454740.tar.gz
Qt-bbcef4e4b596324aeda80e0aa7d313c586454740.tar.bz2
Don't warn of an unused 'window' argument.
Diffstat (limited to 'src/testlib/qtestsystem.h')
-rw-r--r--src/testlib/qtestsystem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testlib/qtestsystem.h b/src/testlib/qtestsystem.h
index 540b18d..a9a2193 100644
--- a/src/testlib/qtestsystem.h
+++ b/src/testlib/qtestsystem.h
@@ -76,8 +76,10 @@ namespace QTest
#if defined(Q_WS_X11)
qt_x11_wait_for_window_manager(window);
#elif defined(Q_WS_QWS)
+ Q_UNUSED(window);
qWait(100);
#else
+ Q_UNUSED(window);
qWait(50);
#endif
return true;