summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt/qtwayland/0001-qwaylandintegration-Keep-previous-check-related-to-i.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt/qtwayland/0001-qwaylandintegration-Keep-previous-check-related-to-i.patch')
-rw-r--r--recipes-qt/qt/qtwayland/0001-qwaylandintegration-Keep-previous-check-related-to-i.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-qt/qt/qtwayland/0001-qwaylandintegration-Keep-previous-check-related-to-i.patch b/recipes-qt/qt/qtwayland/0001-qwaylandintegration-Keep-previous-check-related-to-i.patch
index 77362dac3..b34f84d4f 100644
--- a/recipes-qt/qt/qtwayland/0001-qwaylandintegration-Keep-previous-check-related-to-i.patch
+++ b/recipes-qt/qt/qtwayland/0001-qwaylandintegration-Keep-previous-check-related-to-i.patch
@@ -21,7 +21,7 @@ index c53ccb78..6d3d9559 100644
}
#endif
-- qCDebug(lcQpaWayland) << "using input method:" << inputContext()->metaObject()->className();
+- qCDebug(lcQpaWayland) << "using input method:" << (inputContext() ? inputContext()->metaObject()->className() : "<none>");
+ bool mUsingInputContextFromCompositor = qobject_cast<QWaylandInputContext *>(mInputContext.data());
+ if (mUsingInputContextFromCompositor)
+ qCDebug(lcQpaWayland) << "using input method:" << inputContext()->metaObject()->className();