diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ endif() set(QT_MIN_VERSION 5.12.0) -set(KF5_MIN_VERSION 5.58.0) +set(KF5_MIN_VERSION 5.70.0) include(FeatureSummary) diff --git a/applets/quicklaunch/plugin/quicklaunch_p.cpp b/applets/quicklaunch/plugin/quicklaunch_p.cpp --- a/applets/quicklaunch/plugin/quicklaunch_p.cpp +++ b/applets/quicklaunch/plugin/quicklaunch_p.cpp @@ -33,8 +33,10 @@ #include #include #include +#include #include #include +#include #include #include @@ -121,7 +123,9 @@ void QuicklaunchPrivate::openExec(const QString &exec) { - KRun::run(exec, {}, nullptr); + KIO::CommandLauncherJob *job = new KIO::CommandLauncherJob(exec); + job->setUiDelegate(new KDialogJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, nullptr)); + job->start(); } void QuicklaunchPrivate::addLauncher(bool isPopup)