Permalink
Browse files

Ignore error 203 to let opening media files directly, as suggested by…

… The-Compiler, fixes #386
  • Loading branch information...
Emdek committed Dec 26, 2014
1 parent d26db47 commit 70c6366f3317d8af44e3e122074b27d4cd610b61
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/modules/backends/web/qtwebkit/QtWebKitWebPage.cpp
@@ -399,7 +399,7 @@ bool QtWebKitWebPage::extension(QWebPage::Extension extension, const QWebPage::E
const QWebPage::ErrorPageExtensionOption *errorOption = static_cast<const QWebPage::ErrorPageExtensionOption*>(option);
QWebPage::ErrorPageExtensionReturn *errorOutput = static_cast<QWebPage::ErrorPageExtensionReturn*>(output);
if (!errorOption || !errorOutput)
if (!errorOption || !errorOutput || (errorOption->error == 203 && errorOption->domain == QWebPage::WebKit))
{
return false;
}

0 comments on commit 70c6366

Please sign in to comment.