autotests: Fix InputMethodTest
Currently, the test fails because the d-bus api was changed recently. Use InputMethod::setEnabled() method to enable input method support.
This commit is contained in:
parent
c894956bba
commit
9ad83dafe6
1 changed files with 1 additions and 5 deletions
|
@ -90,11 +90,7 @@ void InputMethodTest::init()
|
|||
screens()->setCurrent(0);
|
||||
KWin::Cursors::self()->mouse()->setPos(QPoint(512, 512));
|
||||
|
||||
const QDBusMessage message = QDBusMessage::createMethodCall(QStringLiteral("org.kde.kwin.testvirtualkeyboard"),
|
||||
QStringLiteral("/VirtualKeyboard"),
|
||||
QStringLiteral("org.kde.kwin.VirtualKeyboard"),
|
||||
"enable");
|
||||
QDBusConnection::sessionBus().call(message);
|
||||
InputMethod::self()->setEnabled(true);
|
||||
}
|
||||
|
||||
void InputMethodTest::cleanup()
|
||||
|
|
Loading…
Reference in a new issue