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/CMakeLists.txt b/applets/quicklaunch/plugin/CMakeLists.txt --- a/applets/quicklaunch/plugin/CMakeLists.txt +++ b/applets/quicklaunch/plugin/CMakeLists.txt @@ -7,7 +7,8 @@ Qt5::Core Qt5::Qml KF5::KIOCore - KF5::KIOWidgets) + KF5::KIOWidgets + KF5::Notifications) install(TARGETS quicklaunchplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/quicklaunch) install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/quicklaunch) 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 KNotificationJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled)); + job->start(); } void QuicklaunchPrivate::addLauncher(bool isPopup)