Commit 00733056 authored by Eike Ziller's avatar Eike Ziller Committed by Oswald Buddenhagen
Browse files

Fix loading files from within documentation.



Task-number: QTSDK-1129

Change-Id: Ief29c41ad4074d74c97b4e8aa9c69a6e4a0d9d67
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent 317ed0a7
......@@ -138,6 +138,7 @@ bool HelpViewer::launchWithExternalApp(const QUrl &url)
if (!canOpenPage(path)) {
Utils::TempFileSaver saver(QDir::tempPath()
+ QLatin1String("/qtchelp_XXXXXX.") + QFileInfo(path).completeSuffix());
saver.setAutoRemove(false);
if (!saver.hasError())
saver.write(helpEngine.fileData(resolvedUrl));
if (saver.finalize(Core::ICore::instance()->mainWindow()))
......
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