summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2023-01-16 14:38:39 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2023-01-18 13:21:06 +0100
commit5686824229c331abb690089e94448087f1288556 (patch)
treebf52f6f7ca897cc8a75d2c3d22186a05a3a4f6f4
parent9d705d90d0dac4c2e66eb4b7f11c2a1c37bd81d1 (diff)
tests: remove PlatformInputContext::filterEvent()
This overridden function is not used and also can't be triggered by a synthetic input event in an auto test. Change-Id: Id8b69b440a90c18cf5870e34804fae3e6607e49f Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-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 1c8890d21c..95777b96a1 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;
};