Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KScreenLocker
Commits
a355bca0
Commit
a355bca0
authored
Aug 09, 2016
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
greeter/main.cpp
View file @
a355bca0
...
...
@@ -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
);
...
...
Bhushan Shah
📱
@bshah
mentioned in merge request
!12 (closed)
·
Sep 22, 2020
mentioned in merge request
!12 (closed)
mentioned in merge request !12
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment