replace qvector with qlist
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
3df98dd5e7
commit
49f0e8ef6b
45 changed files with 102 additions and 107 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue