Skip to content
Commit 4a05fc95 authored by Jakob Petsovits's avatar Jakob Petsovits
Browse files

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

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)
parent ebd41bd4
Pipeline #623985 passed with stage
in 7 minutes and 57 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment