diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-09-24 05:51:24 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-09-24 05:51:24 (GMT) |
commit | c89cd924858c4fce30b0855e295e0a6adfaea875 (patch) | |
tree | 0672bb9322ecc2e36ca2a54a54edb04d635720f9 | |
parent | 3a00b2bc8590e0ac43313681ba690629efdcbeab (diff) | |
download | Qt-c89cd924858c4fce30b0855e295e0a6adfaea875.zip Qt-c89cd924858c4fce30b0855e295e0a6adfaea875.tar.gz Qt-c89cd924858c4fce30b0855e295e0a6adfaea875.tar.bz2 |
Fixed "warning: variable / argument 'window' is not used in function"
The warning was reported by Nokia X86 compiler when compiling for S60
emulator. The fix was a t rivial change to add Q_UNUSED macro for #ifdef
branches where window parameter was not used.
-rw-r--r-- | src/testlib/qtestsystem.h | 2 |
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; |