diff --git a/src/plugins/platforms/wayland/qwaylandintegration.cpp b/src/plugins/platforms/wayland/qwaylandintegration.cpp index dc96572c2a8..67af87cb2f2 100644 --- a/src/plugins/platforms/wayland/qwaylandintegration.cpp +++ b/src/plugins/platforms/wayland/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(); }