summaryrefslogtreecommitdiffstats
path: root/examples/help
diff options
context:
space:
mode:
Diffstat (limited to 'examples/help')
-rw-r--r--examples/help/contextsensitivehelp/helpbrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/help/contextsensitivehelp/helpbrowser.cpp b/examples/help/contextsensitivehelp/helpbrowser.cpp
index f0cc4a1d7..4ff4b5c98 100644
--- a/examples/help/contextsensitivehelp/helpbrowser.cpp
+++ b/examples/help/contextsensitivehelp/helpbrowser.cpp
@@ -58,7 +58,7 @@
HelpBrowser::HelpBrowser(QWidget *parent)
: QTextBrowser(parent)
{
- QString collectionFile = QLibraryInfo::location(QLibraryInfo::ExamplesPath)
+ QString collectionFile = QLibraryInfo::path(QLibraryInfo::ExamplesPath)
+ QLatin1String("/help/contextsensitivehelp/docs/wateringmachine.qhc");
m_helpEngine = new QHelpEngineCore(collectionFile, this);