https://bugs.kde.org/show_bug.cgi?id=408325
--- Comment #12 from Bastian Beischer <bastian.beisc...@rwth-aachen.de> --- Proposed fix: --- a/kcms/touchpad/src/kcm/touchpadconfigcontainer.cpp 2019-06-07 18:08:11.000000000 +0200 +++ b/kcms/touchpad/src/kcm/touchpadconfigcontainer.cpp 2019-06-18 14:20:11.853007246 +0200 @@ -42,7 +42,7 @@ if (backend->getMode() == TouchpadInputBackendMode::XLibinput) { m_plugin = new TouchpadConfigLibinput(this, backend); } - else if (backend->getMode() == TouchpadInputBackendMode::XSynaptics) { + else { m_plugin = new TouchpadConfigXlib(this, backend); } } else if (KWindowSystem::isPlatformWayland()) { diff -urN a/kcms/touchpad/src/touchpadbackend.h b/kcms/touchpad/src/touchpadbackend.h --- a/kcms/touchpad/src/touchpadbackend.h 2019-06-07 18:08:11.000000000 +0200 +++ b/kcms/touchpad/src/touchpadbackend.h 2019-06-18 14:18:57.915432036 +0200 @@ -25,9 +25,10 @@ #include <QVariantHash> enum class TouchpadInputBackendMode { - WaylandLibinput = 0, - XLibinput = 1, - XSynaptics = 2 + Unset = 0, + WaylandLibinput = 1, + XLibinput = 2, + XSynaptics = 3 }; class Q_DECL_EXPORT TouchpadBackend : public QObject @@ -35,7 +36,7 @@ Q_OBJECT protected: - explicit TouchpadBackend(QObject *parent) : QObject(parent) {} + explicit TouchpadBackend(QObject *parent) : QObject(parent), m_mode(TouchpadInputBackendMode::Unset) {} void setMode(TouchpadInputBackendMode mode); public: which will create the Synaptics backend as m_plugin in case of no touchpad (as in Plasma 5.15), which will show a message 'No touchpad found' and disable all controls. -- You are receiving this mail because: You are watching all bug changes.