Commit f44bad6b authored by Laurent Montel's avatar Laurent Montel 😁

Port QProcess::startDetached deprecated method

parent d032d81f
......@@ -120,7 +120,7 @@ void RunApplicationPlugin::executeIn(const QString &path) const
KService service(filePath);
if (service.isValid() && service.isApplication()) {
qCDebug(KAMD_LOG_APPLICATION) << "Starting: " << service.exec();
QProcess::startDetached(service.exec());
QProcess::startDetached(service.exec(), QStringList());
} else {
qCDebug(KAMD_LOG_APPLICATION) << "Openning file: " << QUrl::fromLocalFile(filePath);
QDesktopServices::openUrl(QUrl::fromLocalFile(filePath));
......
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