mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Qt: replace nul character with 0 in the log viewer
Fixes cropped content
This commit is contained in:
parent
5b66fe47db
commit
4e426af114
1 changed files with 3 additions and 1 deletions
|
@ -218,7 +218,9 @@ void log_viewer::show_log()
|
|||
m_gui_settings->SetValue(gui::fd_log_viewer, m_path_last);
|
||||
|
||||
QTextStream stream(&file);
|
||||
m_log_text->setPlainText(stream.readAll());
|
||||
QString text = stream.readAll();
|
||||
text.replace('\0', '0');
|
||||
m_log_text->setPlainText(text);
|
||||
file.close();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue