Commit 84655a33 authored by David Faure's avatar David Faure
Browse files

Repair running desktop files and executables from konqueror

(cherry picked from commit ce77d0c5)
parent afea2a29
...@@ -691,6 +691,7 @@ void KonqMainWindow::openUrl(KonqView *_view, const QUrl &_url, ...@@ -691,6 +691,7 @@ void KonqMainWindow::openUrl(KonqView *_view, const QUrl &_url,
setLocationBarURL(oldLocationBarURL); // Revert to previous locationbar URL setLocationBarURL(oldLocationBarURL); // Revert to previous locationbar URL
KIO::OpenUrlJob *job = new KIO::OpenUrlJob(url); KIO::OpenUrlJob *job = new KIO::OpenUrlJob(url);
job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this)); job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
job->setShowOpenOrExecuteDialog(true);
job->start(); job->start();
} else { } else {
// If offer is null, it means the user clicked on "Open With..." button. // If offer is null, it means the user clicked on "Open With..." button.
......
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