GlobalShortcutsTest: Fix testNonLatinLayout
Have it switch back from the Russian layout, otherwise the rest of tests are run with this one and fail as they produce weird shortcuts.
This commit is contained in:
parent
282e0d1c4d
commit
a977ba3311
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ void GlobalShortcutsTest::init()
|
||||||
QVERIFY(Test::setupWaylandConnection());
|
QVERIFY(Test::setupWaylandConnection());
|
||||||
screens()->setCurrent(0);
|
screens()->setCurrent(0);
|
||||||
KWin::Cursors::self()->mouse()->setPos(QPoint(640, 512));
|
KWin::Cursors::self()->mouse()->setPos(QPoint(640, 512));
|
||||||
|
|
||||||
|
auto xkb = input()->keyboard()->xkb();
|
||||||
|
xkb->switchToLayout(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GlobalShortcutsTest::cleanup()
|
void GlobalShortcutsTest::cleanup()
|
||||||
|
|
Loading…
Reference in a new issue