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

[greeter] Only set QT_IM_MODULE to compose if QT_IM_MODULE is set

Reviewed-By: Eike Hein
parent ebd785d0
......@@ -73,7 +73,7 @@ int main(int argc, char* argv[])
// explicitly disable input methods as it makes it impossible to unlock, see BUG 306932
// but explicitly set on screen keyboard such as maliit is allowed
if (qgetenv("QT_IM_MODULE") != QByteArrayLiteral("maliit")) {
if (qEnvironmentVariableIsSet("QT_IM_MODULE") && qgetenv("QT_IM_MODULE") != QByteArrayLiteral("maliit")) {
qputenv("QT_IM_MODULE", QByteArrayLiteral("compose"));
}
ScreenLocker::UnlockApp app(argc, argv);
......
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