replace qvector with qlist (#3519)

This commit is contained in:
Alexandru Ionut Tripon
2025-04-29 00:32:40 +03:00
committed by GitHub
45 changed files with 102 additions and 107 deletions

View File

@ -100,7 +100,7 @@ void LogModel::setMaxLines(int maxLines)
return;
}
// otherwise, we need to reorganize the data because it crosses the wrap boundary
QVector<entry> newContent;
QList<entry> newContent;
newContent.resize(maxLines);
if (m_numLines <= maxLines) {
// if it all fits in the new buffer, just copy it over