diff options
author | Joni Poikelin <joni.poikelin@qt.io> | 2022-02-03 14:01:50 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-03 16:55:03 +0000 |
commit | 8d2881f1f3e53cfae99e5d486fbba60d2b2a7d0e (patch) | |
tree | cb997a35c4979aa265e176a84a7a7d17d7da45b9 | |
parent | 82eb793281ba55e0c5b0bd3726ba4ce2b419ca08 (diff) | |
download | qtwayland-8d2881f1f3e53cfae99e5d486fbba60d2b2a7d0e.tar.gz |
Fix crash if no input method module could be loaded
Change-Id: I8f346def616606a6c5540856bd08a84ee7ed5ca2
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit 49fb7248f6ab7de046e2179c7861951ea1169e9b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/client/qwaylandintegration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp index 274ae9a9..2bf5fa4b 100644 --- a/src/client/qwaylandintegration.cpp +++ b/src/client/qwaylandintegration.cpp @@ -534,7 +534,7 @@ void QWaylandIntegration::reconfigureInputContext() } #endif - qCDebug(lcQpaWayland) << "using input method:" << inputContext()->metaObject()->className(); + qCDebug(lcQpaWayland) << "using input method:" << (inputContext() ? inputContext()->metaObject()->className() : "<none>"); } QWaylandShellIntegration *QWaylandIntegration::createShellIntegration(const QString &integrationName) |