Blame SOURCES/0034-Fix-crash-if-no-input-method-module-could-be-loaded.patch

f38a11
From 297c4e075068bffe4a396b2553afc4798c97fb4c Mon Sep 17 00:00:00 2001
b814f0
From: Joni Poikelin <joni.poikelin@qt.io>
b814f0
Date: Thu, 3 Feb 2022 14:01:50 +0200
f38a11
Subject: [PATCH 34/40] Fix crash if no input method module could be loaded
b814f0
b814f0
Pick-to: 6.2 6.3 5.15
b814f0
Change-Id: I8f346def616606a6c5540856bd08a84ee7ed5ca2
b814f0
Reviewed-by: David Edmundson <davidedmundson@kde.org>
b814f0
(cherry picked from commit 49fb7248f6ab7de046e2179c7861951ea1169e9b)
b814f0
---
b814f0
 src/client/qwaylandintegration.cpp | 2 +-
b814f0
 1 file changed, 1 insertion(+), 1 deletion(-)
b814f0
b814f0
diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp
b814f0
index 3b876047..fbf00c6b 100644
b814f0
--- a/src/client/qwaylandintegration.cpp
b814f0
+++ b/src/client/qwaylandintegration.cpp
b814f0
@@ -491,7 +491,7 @@ void QWaylandIntegration::reconfigureInputContext()
b814f0
     }
b814f0
 #endif
b814f0
 
b814f0
-    qCDebug(lcQpaWayland) << "using input method:" << inputContext()->metaObject()->className();
b814f0
+    qCDebug(lcQpaWayland) << "using input method:" << (inputContext() ? inputContext()->metaObject()->className() : "<none>");
b814f0
 }
b814f0
 
b814f0
 QWaylandShellIntegration *QWaylandIntegration::createShellIntegration(const QString &integrationName)
b814f0
-- 
b814f0
2.35.1
b814f0