Commit e3bcfc3d authored by Andrey Butirsky's avatar Andrey Butirsky
Browse files

fix: Accessibility KCM crashes on Wayland

It's a workaround: no X specific mouseKeysShortcut() call on Wayland

BUG: 429022
parent f0153ab8
......@@ -156,7 +156,7 @@ KAccessConfig::KAccessConfig(QObject *parent, const QVariantList& args)
, m_bellSettings(new BellSettings(this))
, m_keyboardSettings(new KeyboardSettings(this))
, m_screenReaderSettings(new ScreenReaderSettings(this))
, m_desktopShortcutInfo(mouseKeysShortcut(QX11Info::display()))
, m_desktopShortcutInfo(QX11Info::isPlatformX11() ? mouseKeysShortcut(QX11Info::display()) : QString())
Supports Markdown
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