Silence warning about unused fields in test event (CLANG).

Change-Id: I8e05fc9b8820136a7714219627dbdae300af0b0d
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
bb10
Friedemann Kleint 2013-03-07 15:32:05 +01:00 committed by The Qt Project
parent 9c6239e0c1
commit cd035286c5
1 changed files with 1 additions and 1 deletions

View File

@ -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() {}