Commit ac930e4f authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Eike Ziller

Help: Fix compilation with Qt4

Change-Id: I4fad0d14eae7721272dd45dd0db99ea5f18fb148
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 6a12f3b9
......@@ -880,7 +880,7 @@ static QUrl findBestLink(const QMap<QString, QUrl> &links, QString *highlightId)
highlightId->clear();
if (links.isEmpty())
return QUrl();
QUrl source = links.first();
QUrl source = links.constBegin().value();
// workaround to show the latest Qt version
int version = 0;
QRegExp exp(QLatin1String("(\\d+)"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment