forked from qt-creator/qt-creator
Some Qt6 porting
- new ambiguous overloads for mapToGlobal - some functions now return qsizetype instead of int Task-number: QTCREATORBUG-24098 Change-Id: I0020e5689e093653e9e0e6f0d6263720bc2e003b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -202,7 +202,7 @@ QList<LocatorFilterEntry> HelpIndexFilter::matchesFor(QFutureInterface<LocatorFi
|
||||
for (const QString &keyword : qAsConst(m_lastIndicesCache)) {
|
||||
const int index = keyword.indexOf(entry, 0, cs);
|
||||
LocatorFilterEntry filterEntry(this, keyword, QVariant(), m_icon);
|
||||
filterEntry.highlightInfo = {index, entry.length()};
|
||||
filterEntry.highlightInfo = {index, int(entry.length())};
|
||||
entries.append(filterEntry);
|
||||
}
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <coreplugin/locator/ilocatorfilter.h>
|
||||
|
||||
#include <QIcon>
|
||||
#include <QMultiMap>
|
||||
#include <QMutex>
|
||||
|
||||
namespace Help {
|
||||
|
||||
Reference in New Issue
Block a user