diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-12-01 07:36:54 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-12-01 07:36:54 +0100 |
commit | f1ce45ccb291bbbd834dc4b1db4ec0dcdbc6d8ec (patch) | |
tree | 4dd7df6e73002b6d828efbbfd20a26c9cff3f1df | |
parent | remove ugly hack string in mainview (diff) | |
download | rekonq-f1ce45ccb291bbbd834dc4b1db4ec0dcdbc6d8ec.tar.xz |
Open local files in external applications
-rw-r--r-- | src/webpage.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 647b1ccb..1b7241f2 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -302,7 +302,12 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply) return; } - if (!isLocal) + if (isLocal) + { + // Load outside local files + KRun::run(*appService, replyUrl, 0, false, _suggestedFileName); + } + else { KParts::BrowserOpenOrSaveQuestion dlg(rApp->mainWindow(), replyUrl, _mimeType); |