Change-Id: I3253b116747124d67ccd63396a3fe710d0d1d96d
Reviewed-by: Jarosław Staniek <staniek@kde.org>
Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
window = QGuiApplication::focusWindow();
}
+#ifdef Q_OS_LINUX_TIZEN
+ if (e->key == Qt::Key_Back && QGuiApplication::inputMethod() && QGuiApplication::inputMethod()->isVisible()) {
+ QGuiApplication::inputMethod()->hide();
+ return;
+ }
+#endif
+
QKeyEvent ev(e->keyType, e->key, e->modifiers,
e->nativeScanCode, e->nativeVirtualKey, e->nativeModifiers,
e->unicode, e->repeat, e->repeatCount);