summaryrefslogtreecommitdiffstats
path: root/examples/help/contextsensitivehelp/helpbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/help/contextsensitivehelp/helpbrowser.cpp')
-rw-r--r--examples/help/contextsensitivehelp/helpbrowser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/help/contextsensitivehelp/helpbrowser.cpp b/examples/help/contextsensitivehelp/helpbrowser.cpp
index cbf9b21d6..a5e4292f0 100644
--- a/examples/help/contextsensitivehelp/helpbrowser.cpp
+++ b/examples/help/contextsensitivehelp/helpbrowser.cpp
@@ -71,9 +71,9 @@ QVariant HelpBrowser::loadResource(int type, const QUrl &name)
QByteArray ba;
if (type < 4 && m_helpEngine) {
QUrl url(name);
- if (name.isRelative())
+ if (name.isRelative())
url = source().resolved(url);
- ba = m_helpEngine->fileData(url);
+ ba = m_helpEngine->fileData(url);
}
return ba;
}