autotests: Register virtual keyboard service

Otherwise the input method test seems to fail with the following error

"The name org.kde.kwin.testvirtualkeyboard was not provided by any
.service files"
icc-effect-5.26.4
Vlad Zahorodnii 2021-02-22 18:03:16 +02:00
parent b24fc72969
commit 94b63c16f2
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ private Q_SLOTS:
void InputMethodTest::initTestCase()
{
QDBusConnection::sessionBus().registerService(QStringLiteral("org.kde.kwin.testvirtualkeyboard"));
qRegisterMetaType<KWin::Deleted *>();
qRegisterMetaType<KWin::AbstractClient *>();
qRegisterMetaType<KWayland::Client::Output *>();