From cd035286c59f550ecc772eee7126679f9c065bb3 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 7 Mar 2013 15:32:05 +0100 Subject: Silence warning about unused fields in test event (CLANG). Change-Id: I8e05fc9b8820136a7714219627dbdae300af0b0d Reviewed-by: Frederik Gladhorn --- src/testlib/qtestspontaneevent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testlib/qtestspontaneevent.h') diff --git a/src/testlib/qtestspontaneevent.h b/src/testlib/qtestspontaneevent.h index 45cc74e343..e299981670 100644 --- a/src/testlib/qtestspontaneevent.h +++ b/src/testlib/qtestspontaneevent.h @@ -71,7 +71,7 @@ public: class QSpontaneKeyEvent { public: - void setSpontaneous() { spont = 1; } + void setSpontaneous() { spont = 1; Q_UNUSED(posted) Q_UNUSED(m_accept) Q_UNUSED(reserved) } bool spontaneous() { return spont; } virtual void dummyFunc() {} virtual ~QSpontaneKeyEvent() {} -- cgit v1.2.3