Commit 4b7cf713 authored by David Faure's avatar David Faure
Browse files

Port KRun::runCommand to CommandLauncherJob

parent 522d10e4
......@@ -29,7 +29,7 @@
#include <KXMLGUIFactory>
#include <KAboutData>
#include <KLocalizedString>
#include <KRun>
#include <KIO/CommandLauncherJob>
#include <QObject>
#include <QDBusConnection>
......@@ -338,7 +338,8 @@ void Plugin::bringToForeground()
#ifdef Q_OS_WIN
activateWindowForProcess(d->executableName);
#else
KRun::runCommand(d->executableName, nullptr);
KIO::CommandLauncherJob *job = new KIO::CommandLauncherJob(d->executableName);
job->start();
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment