summaryrefslogtreecommitdiffstats
path: root/examples/help/contextsensitivehelp/helpbrowser.cpp
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2020-08-14 13:27:40 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2020-08-14 14:07:15 +0300
commita553ba77e528d05df5012ab7cd620f861080a6b1 (patch)
treeab37d123790530e7e378344edcf1197b5652fe98 /examples/help/contextsensitivehelp/helpbrowser.cpp
parentaf64f2f8ab11088a71b0e153df60ddae361b1a3a (diff)
examples: Fix compilation issues with QMultiMap
Change-Id: I845d24352b2e9e57b4ccf0b84134710388417762 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'examples/help/contextsensitivehelp/helpbrowser.cpp')
-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 67314374d..0eb983c05 100644
--- a/examples/help/contextsensitivehelp/helpbrowser.cpp
+++ b/examples/help/contextsensitivehelp/helpbrowser.cpp
@@ -70,7 +70,7 @@ HelpBrowser::HelpBrowser(QWidget *parent)
void HelpBrowser::showHelpForKeyword(const QString &id)
{
if (m_helpEngine) {
- QMap<QString, QUrl> links = m_helpEngine->linksForIdentifier(id);
+ QMultiMap<QString, QUrl> links = m_helpEngine->linksForIdentifier(id);
if (links.count())
setSource(links.constBegin().value());
}