From 98ddebe8d709ccc537ce95c8cc7926a91bface36 Mon Sep 17 00:00:00 2001 From: vojtapl Date: Fri, 6 Sep 2024 11:21:59 +0200 Subject: [PATCH] Fix settings URL for plasma 6 --- src/plugin/inputmethod.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugin/inputmethod.cpp b/src/plugin/inputmethod.cpp index 23cacca6..e5fe0481 100644 --- a/src/plugin/inputmethod.cpp +++ b/src/plugin/inputmethod.cpp @@ -790,6 +790,8 @@ void InputMethod::showSystemSettings() if (qEnvironmentVariable("PLASMA_PLATFORM").contains(QStringLiteral("phone"))) { QDesktopServices::openUrl(QUrl("systemsettings://kcm_mobile_onscreenkeyboard")); + } else if (qEnvironmentVariable("KDE_SESSION_VERSION").contains(QStringLiteral("6"))) { + QDesktopServices::openUrl(QUrl("systemsettings://kcm_regionandlang")); } else { QDesktopServices::openUrl(QUrl("settings://system/language")); }