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

Enable qtvirtualkeyboard QT_IM_MODULE for greeter

Summary: To be ued together with D4870.

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4871
parent 05c6adef
......@@ -73,8 +73,8 @@ 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 (qEnvironmentVariableIsSet("QT_IM_MODULE") && qgetenv("QT_IM_MODULE") != QByteArrayLiteral("maliit")) {
qputenv("QT_IM_MODULE", QByteArrayLiteral("compose"));
if (!qEnvironmentVariableIsSet("QT_IM_MODULE") || (qEnvironmentVariableIsSet("QT_IM_MODULE") && qgetenv("QT_IM_MODULE") != QByteArrayLiteral("maliit"))) {
qputenv("QT_IM_MODULE", QByteArrayLiteral("qtvirtualkeyboard"));
}
ScreenLocker::UnlockApp app(argc, argv);
app.setQuitOnLastWindowClosed(false);
......
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