Commit 3dc523dc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port KRun to OpenUrlJob

parent cdf194fe
Pipeline #23658 passed with stage
in 14 minutes and 58 seconds
......@@ -55,7 +55,7 @@ using namespace Kontact;
#include <KMessageBox>
#include <KPluginInfo>
#include <KPluginMetaData>
#include <KRun>
#include <KIO/OpenUrlJob>
#include <KServiceTypeTrader>
#include <KShortcutsDialog>
#include <KSqueezedTextLabel>
......@@ -888,7 +888,8 @@ void MainWindow::slotOpenUrl(const QUrl &url)
KHelpClient::invokeHelp(QString(), app);
}
} else {
new KRun(url, this);
KIO::OpenUrlJob *job = new KIO::OpenUrlJob(url);
job->start();
}
}
......
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