Commit 22630f61 authored by Martin Flöser's avatar Martin Flöser
Browse files

[ksld/greeter] Disable all IM modules

With IM modules it's possible that one cannot unlock the screen at
all. So better disable all IM modules in the greeter. For that we
explicitly enforce the compose module, which is the fallback in Qt.

BUG: 306932
FIXED-IN: 5.2.1
REVIEW: 122259
parent 336eb6fd
......@@ -53,6 +53,8 @@ int main(int argc, char* argv[])
{
KLocalizedString::setApplicationDomain("kscreenlocker_greet");
// explicitly disable input methods as it makes it impossible to unlock, see BUG 306932
qputenv("QT_IM_MODULE", QByteArrayLiteral("compose"));
ScreenLocker::UnlockApp app(argc, argv);
QCoreApplication::setApplicationName(QStringLiteral("kscreenlocker_greet"));
QCoreApplication::setApplicationVersion(QStringLiteral("0.1"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment