forked from qt-creator/qt-creator
Utils: Replace two deprecated uses of .count()
Change-Id: I13d683b762c5093231e42c57d58ae322746d9922 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -134,7 +134,7 @@ private:
|
||||
}
|
||||
static QString formatField(int number, int fieldWidth, const QString &suffix = {})
|
||||
{
|
||||
return QString("%1%2").arg(number, fieldWidth - suffix.count()).arg(suffix);
|
||||
return QString("%1%2").arg(number, fieldWidth - suffix.size()).arg(suffix);
|
||||
}
|
||||
|
||||
static int toMs(quint64 nsesc) // nanoseconds to miliseconds
|
||||
|
||||
Reference in New Issue
Block a user