From c89cd924858c4fce30b0855e295e0a6adfaea875 Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Thu, 24 Sep 2009 08:51:24 +0300 Subject: 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. --- src/testlib/qtestsystem.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v0.12