Pretend the X11 "compose" platform input context plugin to be "xim" too
This is for compatibility with old Qt versions that had this. Task-number: QTBUG-48360 Change-Id: I42e7ef1a481840699a8dffff1405c0a348e32e27 Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
This commit is contained in:
parent
05d401104e
commit
c0a3515d8d
@ -1,3 +1,3 @@
|
||||
{
|
||||
"Keys": [ "compose" ]
|
||||
"Keys": [ "compose", "xim" ]
|
||||
}
|
||||
|
@ -52,7 +52,8 @@ QComposeInputContext *QComposePlatformInputContextPlugin::create(const QString &
|
||||
{
|
||||
Q_UNUSED(paramList);
|
||||
|
||||
if (system.compare(system, QLatin1String("compose"), Qt::CaseInsensitive) == 0)
|
||||
if (system.compare(system, QLatin1String("compose"), Qt::CaseInsensitive) == 0
|
||||
|| system.compare(system, QLatin1String("xim"), Qt::CaseInsensitive) == 0)
|
||||
return new QComposeInputContext;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user