Use kcmshell6 on kf6

This commit is contained in:
Laurent Montel
2023-03-26 20:43:39 +02:00
parent 50809f912f
commit d962ae00c3

View File

@@ -567,7 +567,11 @@ void SessionController::handleWebShortcutAction(QAction *action)
void SessionController::configureWebShortcuts()
{
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
auto job = new KIO::CommandLauncherJob(QStringLiteral("kcmshell5"), {QStringLiteral("webshortcuts")});
#else
auto job = new KIO::CommandLauncherJob(QStringLiteral("kcmshell6"), {QStringLiteral("webshortcuts")});
#endif
job->start();
}