forked from qt-creator/qt-creator
Help: Fix compilation with Qt4
Change-Id: I4fad0d14eae7721272dd45dd0db99ea5f18fb148 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
6a12f3b9a0
commit
ac930e4ff0
@@ -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+)"));
|
||||
|
||||
Reference in New Issue
Block a user