forked from qt-creator/qt-creator
More deprecation induced busywork
QString::count() will vanish. Change-Id: I65672fa648c0969930e9398ec4e541a0771c8a57 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -169,7 +169,7 @@ void CMakeEditorWidget::findLinkAt(const QTextCursor &cursor,
|
||||
|
||||
// find the end of a filename
|
||||
int endPos = column;
|
||||
while (endPos < block.count()) {
|
||||
while (endPos < block.size()) {
|
||||
if (isValidFileNameChar(block, endPos)) {
|
||||
buffer.append(block.at(endPos));
|
||||
endPos++;
|
||||
|
||||
Reference in New Issue
Block a user