Help: Fix compilation with Qt4

Change-Id: I4fad0d14eae7721272dd45dd0db99ea5f18fb148
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Nikolai Kosjar
2014-06-04 10:47:48 -04:00
committed by Eike Ziller
parent 6a12f3b9a0
commit ac930e4ff0

View File

@@ -880,7 +880,7 @@ static QUrl findBestLink(const QMap<QString, QUrl> &links, QString *highlightId)
highlightId->clear(); highlightId->clear();
if (links.isEmpty()) if (links.isEmpty())
return QUrl(); return QUrl();
QUrl source = links.first(); QUrl source = links.constBegin().value();
// workaround to show the latest Qt version // workaround to show the latest Qt version
int version = 0; int version = 0;
QRegExp exp(QLatin1String("(\\d+)")); QRegExp exp(QLatin1String("(\\d+)"));