mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-29 05:10:20 +02:00
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
@ -202,7 +202,7 @@ void OtherLogsPage::on_btnReload_clicked()
|
|||||||
|
|
||||||
// Try to determine a level for each line
|
// Try to determine a level for each line
|
||||||
if (content.back() == '\n')
|
if (content.back() == '\n')
|
||||||
content = content.removeLast();
|
content = content.remove(content.size() - 1, 1);
|
||||||
ui->text->clear();
|
ui->text->clear();
|
||||||
m_model->clear();
|
m_model->clear();
|
||||||
for (auto& line : content.split('\n')) {
|
for (auto& line : content.split('\n')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user