summaryrefslogtreecommitdiffstats
path: root/src/input/q3dkeyevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/q3dkeyevent.h')
-rw-r--r--src/input/q3dkeyevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/q3dkeyevent.h b/src/input/q3dkeyevent.h
index d84519f7e..a3cd00339 100644
--- a/src/input/q3dkeyevent.h
+++ b/src/input/q3dkeyevent.h
@@ -71,7 +71,7 @@ public:
inline bool isAutoRepeat() const { return m_event.isAutoRepeat(); }
inline int count() const { return m_event.count(); }
inline quint32 nativeScanCode() const { return m_event.nativeScanCode(); }
- inline bool isAccepted() { return m_event.isAccepted(); }
+ inline bool isAccepted() const { return m_event.isAccepted(); }
inline void setAccepted(bool accepted) { m_event.setAccepted(accepted); }
inline QEvent::Type type() const { return m_event.type(); }
Q_INVOKABLE bool matches(QKeySequence::StandardKey key) const { return m_event.matches(key); }