27 lines
898 B
Diff
27 lines
898 B
Diff
Index: plasma-desktop-5.8.5/kcms/keyboard/xkb_helper.cpp
|
|
===================================================================
|
|
--- plasma-desktop-5.8.5.orig/kcms/keyboard/xkb_helper.cpp
|
|
+++ plasma-desktop-5.8.5/kcms/keyboard/xkb_helper.cpp
|
|
@@ -185,21 +185,5 @@ bool XkbHelper::initializeKeyboardLayout
|
|
|
|
bool XkbHelper::preInitialize()
|
|
{
|
|
- // stop ibus so it does not mess with our layouts, we can remove this when we integrate IM into keyboard module
|
|
-
|
|
- QString ibusExe = QStandardPaths::findExecutable(QStringLiteral("ibus"));
|
|
- if( ibusExe.isEmpty() ) {
|
|
- return 0;
|
|
- }
|
|
-
|
|
- KProcess ibusProcess;
|
|
- ibusProcess << ibusExe << QStringLiteral("exit");
|
|
- ibusProcess.setOutputChannelMode(KProcess::SeparateChannels);
|
|
- int res = ibusProcess.execute();
|
|
-
|
|
- if( res == 0 ) {
|
|
- qCWarning(KCM_KEYBOARD) << "ibus successfully stopped";
|
|
- }
|
|
-
|
|
return 0;
|
|
}
|