forked from qt-creator/qt-creator
More small Qt 6 porting changes
Task-number: QTCREATORBUG-24098 Change-Id: Ia7d972a35d2a99b74dc409091833b1a215a3eb64 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -173,7 +173,7 @@ bool QmlJSHoverHandler::setQmlTypeHelp(const ScopeChain &scopeChain, const Docum
|
|||||||
QRegularExpressionMatch m = version.match(moduleName);
|
QRegularExpressionMatch m = version.match(moduleName);
|
||||||
if (m.hasMatch()) {
|
if (m.hasMatch()) {
|
||||||
QMap<QString, QUrl> filteredUrlMap;
|
QMap<QString, QUrl> filteredUrlMap;
|
||||||
QStringRef maj = m.capturedRef(2);
|
const QString maj = m.captured(2);
|
||||||
for (const HelpItem::Link &link : links) {
|
for (const HelpItem::Link &link : links) {
|
||||||
QString urlModuleName = link.second.path().split('/')[1];
|
QString urlModuleName = link.second.path().split('/')[1];
|
||||||
if (urlModuleName.contains(maj))
|
if (urlModuleName.contains(maj))
|
||||||
|
|||||||
@@ -25,12 +25,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QVector>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
|
||||||
class QString;
|
|
||||||
template<typename T> class QVector;
|
|
||||||
QT_END_NAMESPACE
|
|
||||||
|
|
||||||
namespace Valgrind {
|
namespace Valgrind {
|
||||||
namespace Callgrind {
|
namespace Callgrind {
|
||||||
|
|||||||
Reference in New Issue
Block a user