From a553ba77e528d05df5012ab7cd620f861080a6b1 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 14 Aug 2020 13:27:40 +0300 Subject: examples: Fix compilation issues with QMultiMap Change-Id: I845d24352b2e9e57b4ccf0b84134710388417762 Reviewed-by: Kai Koehne --- examples/help/contextsensitivehelp/helpbrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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 links = m_helpEngine->linksForIdentifier(id); + QMultiMap links = m_helpEngine->linksForIdentifier(id); if (links.count()) setSource(links.constBegin().value()); } -- cgit v1.2.3