summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestspontaneevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qtestspontaneevent.h')
-rw-r--r--src/testlib/qtestspontaneevent.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/testlib/qtestspontaneevent.h b/src/testlib/qtestspontaneevent.h
index ac8ea74cc2..e299981670 100644
--- a/src/testlib/qtestspontaneevent.h
+++ b/src/testlib/qtestspontaneevent.h
@@ -49,8 +49,6 @@
#pragma qt_no_master_include
#endif
-QT_BEGIN_HEADER
-
QT_BEGIN_NAMESPACE
@@ -73,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() {}
@@ -112,6 +110,4 @@ private:
QT_END_NAMESPACE
-QT_END_HEADER
-
#endif