Fix some more *::count() deprecation warnings

Change-Id: Ib7d1552a6f7b167e15beb7ca1ef26c7d57e090e9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2023-06-06 16:42:31 +02:00
parent 886ca55b5a
commit adcf52e0c4
8 changed files with 13 additions and 14 deletions

View File

@@ -77,7 +77,7 @@ public:
MacroExpander::PrefixFunction pf = it.value();
if (found)
*found = true;
return pf(QString::fromUtf8(variable.mid(it.key().count())));
return pf(QString::fromUtf8(variable.mid(it.key().size())));
}
}
if (found)