diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-03-07 15:32:05 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-12 09:16:42 +0100 |
commit | cd035286c59f550ecc772eee7126679f9c065bb3 (patch) | |
tree | 6c85cfd88b1a13a49e0da473714043392e7c4332 /src | |
parent | 9c6239e0c120897b5edb7824b4e694c2b4d472cf (diff) |
Silence warning about unused fields in test event (CLANG).
Change-Id: I8e05fc9b8820136a7714219627dbdae300af0b0d
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/testlib/qtestspontaneevent.h | 2 |
1 files changed, 1 insertions, 1 deletions
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() {} |