mirror of
https://github.com/KDE/konsole.git
synced 2026-01-02 12:18:05 -05:00
Use kcmshell6 on kf6
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user