Make Nheko compile on Qt6
This commit is contained in:
parent
0ac46ea209
commit
b518f6902e
39 changed files with 108 additions and 361 deletions
|
|
@ -29,7 +29,7 @@ CompletionProxyModel::CompletionProxyModel(QAbstractItemModel *model,
|
|||
finder.toNextBoundary();
|
||||
auto end = finder.position();
|
||||
|
||||
auto ref = str.midRef(start, end - start).trimmed();
|
||||
auto ref = QStringView(str).mid(start, end - start).trimmed();
|
||||
if (!ref.isEmpty())
|
||||
trie_.insert<ElementRank::second>(ref.toUcs4(), id);
|
||||
} while (finder.position() < str.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue