summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp7
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);