Skip to content

kcms/mouse: Don't crash when no supported backend is found

Jakob Petsovits requested to merge work/cherry-pick-130e3bb5 into Plasma/6.0

Original MR in !2089 (merged).


If InputBackend::implementation() and ConfigPlugin::implementation() can return a nullptr, we need to have null pointer checks where they get used.

Also, remove some dead code without these checks to avoid confusion.

BUG: 482048

(cherry picked from commit 130e3bb5)

Merge request reports