diff options
-rw-r--r-- | src/client/qwaylandintegration.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp index dc96572c..67af87cb 100644 --- a/src/client/qwaylandintegration.cpp +++ b/src/client/qwaylandintegration.cpp @@ -495,16 +495,12 @@ void QWaylandIntegration::reconfigureInputContext() " use QT_IM_MODULE=qtvirtualkeyboard at compositor-side."; if (requested.isNull()) { - if (mDisplay->textInputMethodManager() != nullptr) { + if (mDisplay->textInputMethodManager() != nullptr) mInputContext.reset(new QWaylandInputMethodContext(mDisplay.data())); - qDebug() << "create QWaylandInputMethodContext" << inputContext(); - } else if (mDisplay->textInputManager() != nullptr) { + else if (mDisplay->textInputManager() != nullptr) mInputContext.reset(new QWaylandInputContext(mDisplay.data())); - qDebug() << "create QWaylandInputContext" << inputContext(); - } } else { mInputContext.reset(QPlatformInputContextFactory::create(requested)); - qDebug() << "create QPlatformInputContextFactory::create" << inputContext(); } const QString defaultInputContext(QStringLiteral("compose")); @@ -518,7 +514,6 @@ void QWaylandIntegration::reconfigureInputContext() } #endif - qDebug() << "mInputContext " << inputContext(); qCDebug(lcQpaWayland) << "using input method:" << inputContext()->metaObject()->className(); } |