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:
@@ -230,7 +230,7 @@ QString DiagnosticTextInfo::option() const
|
||||
return QString();
|
||||
|
||||
const int index = m_squareBracketStartIndex + 1;
|
||||
return m_text.mid(index, m_text.count() - index - 1);
|
||||
return m_text.mid(index, m_text.size() - index - 1);
|
||||
}
|
||||
|
||||
QString DiagnosticTextInfo::category() const
|
||||
|
||||
Reference in New Issue
Block a user