Commit 9ad83daf authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

autotests: Fix InputMethodTest

Currently, the test fails because the d-bus api was changed recently.
Use InputMethod::setEnabled() method to enable input method support.
parent c894956b
...@@ -90,11 +90,7 @@ void InputMethodTest::init() ...@@ -90,11 +90,7 @@ void InputMethodTest::init()
screens()->setCurrent(0); screens()->setCurrent(0);
KWin::Cursors::self()->mouse()->setPos(QPoint(512, 512)); KWin::Cursors::self()->mouse()->setPos(QPoint(512, 512));
const QDBusMessage message = QDBusMessage::createMethodCall(QStringLiteral("org.kde.kwin.testvirtualkeyboard"), InputMethod::self()->setEnabled(true);
} }
void InputMethodTest::cleanup() void InputMethodTest::cleanup()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment