Commit c88de84b authored by Stefano Crocco's avatar Stefano Crocco Committed by David Faure
Browse files

Use a better metadata entry name

parent c323d10e
......@@ -57,7 +57,7 @@ bool UrlLoader::isExecutable(const QString& mimeType)
UrlLoader::UrlLoader(KonqMainWindow *mainWindow, KonqView *view, const QUrl &url, const QString &mimeType, const KonqOpenURLRequest &req, bool trustedSource, bool dontEmbed):
QObject(mainWindow), m_mainWindow(mainWindow), m_url(url), m_mimeType(mimeType), m_request(req), m_view(view), m_trustedSource(trustedSource), m_dontEmbed(dontEmbed)
{
m_dontPassToWebEnginePart = m_request.args.metaData().contains("RequestedByWebEnginePart");
m_dontPassToWebEnginePart = m_request.args.metaData().contains("DontSendToDefaultHTMLPart");
}
UrlLoader::~UrlLoader()
......
......@@ -212,7 +212,7 @@ bool WebEnginePage::askBrowserToOpenUrl(const QUrl& url, const QString& mimetype
{
KParts::OpenUrlArguments args(_args);
args.setMimeType(mimetype);
args.metaData().insert("RequestedByWebEnginePart", "");
args.metaData().insert("DontSendToDefaultHTMLPart", "");
emit m_part->browserExtension()->openUrlRequest(url, args, bargs);
return true;
}
......
Supports Markdown
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