Fix keyboard layout tests
Don't give the InputConfig a separate config instance. I've seen it being changed after having initialized the xkb instance which would break the shared instance. Using a simple config rather than reading the configuration from the actual code-path shouldn't make a difference as a test it will be using ~/.qttest which should be cleaned upp
This commit is contained in:
parent
4a6badc22c
commit
93a08ba947
1 changed files with 0 additions and 1 deletions
|
@ -82,7 +82,6 @@ void KeyboardLayoutTest::initTestCase()
|
||||||
|
|
||||||
kwinApp()->setConfig(KSharedConfig::openConfig(QString(), KConfig::SimpleConfig));
|
kwinApp()->setConfig(KSharedConfig::openConfig(QString(), KConfig::SimpleConfig));
|
||||||
kwinApp()->setKxkbConfig(KSharedConfig::openConfig(QString(), KConfig::SimpleConfig));
|
kwinApp()->setKxkbConfig(KSharedConfig::openConfig(QString(), KConfig::SimpleConfig));
|
||||||
InputConfig::self()->setInputConfig(KSharedConfig::openConfig(QString(), KConfig::SimpleConfig));
|
|
||||||
|
|
||||||
kwinApp()->start();
|
kwinApp()->start();
|
||||||
QVERIFY(workspaceCreatedSpy.wait());
|
QVERIFY(workspaceCreatedSpy.wait());
|
||||||
|
|
Loading…
Reference in a new issue