Commit 44afdad7 authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

Allow explicitly set on-screen input method such as maliit

parent 0953ed26
......@@ -54,7 +54,10 @@ int main(int argc, char* argv[])
// explicitly disable input methods as it makes it impossible to unlock, see BUG 306932
qputenv("QT_IM_MODULE", QByteArrayLiteral("compose"));
// but explicitly set on screen keyboard such as maliit is allowed
if (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