Apparently removeLast() only comes in Qt 6.5+
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
parent
5634723ecd
commit
de66fe4eda
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ void OtherLogsPage::on_btnReload_clicked()
|
|||
|
||||
// Try to determine a level for each line
|
||||
if (content.back() == '\n')
|
||||
content = content.removeLast();
|
||||
content = content.remove(content.size() - 1, 1);
|
||||
ui->text->clear();
|
||||
m_model->clear();
|
||||
for (auto& line : content.split('\n')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue