From aa116a35f54ae2268ebf955d385017a1d67017d5 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 2 Sep 2024 13:02:08 -0400 Subject: [PATCH] Web Shortcuts: kcmshell5 does not exist anymore on Plasma 6 This is hardcoded, but it's probably a safe assumption to think most people running modern NeoChat are using Plasma 6 anyway. --- src/models/webshortcutmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/webshortcutmodel.cpp b/src/models/webshortcutmodel.cpp index 70b491f9f..c96728ac1 100644 --- a/src/models/webshortcutmodel.cpp +++ b/src/models/webshortcutmodel.cpp @@ -125,7 +125,7 @@ void WebShortcutModel::trigger(const QString &data) void WebShortcutModel::configureWebShortcuts() { #ifdef HAVE_KIO - auto job = new KIO::CommandLauncherJob(QStringLiteral("kcmshell5"), QStringList() << QStringLiteral("webshortcuts"), this); + auto job = new KIO::CommandLauncherJob(QStringLiteral("kcmshell6"), QStringList() << QStringLiteral("webshortcuts"), this); job->exec(); #endif }