summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/shared/platforminputcontext.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/shared/platforminputcontext.h b/tests/auto/shared/platforminputcontext.h
index 1c8890d21ce..95777b96a1b 100644
--- a/tests/auto/shared/platforminputcontext.h
+++ b/tests/auto/shared/platforminputcontext.h
@@ -17,7 +17,6 @@ public:
m_lastQueries(Qt::ImhNone),
m_action(QInputMethod::Click),
m_cursorPosition(0),
- m_lastEventType(QEvent::None),
m_setFocusObjectCallCount(0)
{}
@@ -51,10 +50,6 @@ public:
m_action = action;
m_cursorPosition = cursorPosition;
}
- virtual bool filterEvent(const QEvent *event) override
- {
- m_lastEventType = event->type(); return false;
- }
virtual void showInputPanel() override
{
m_visible = true;
@@ -94,7 +89,6 @@ public:
Qt::InputMethodQueries m_lastQueries;
QInputMethod::Action m_action;
int m_cursorPosition;
- int m_lastEventType;
QRectF m_keyboardRect;
int m_setFocusObjectCallCount;
};