mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:53:52 +00:00
Do not use deprecated QTextStream::endl
This commit is contained in:
parent
2b4274bca8
commit
98bb73ffb7
1 changed files with 4 additions and 3 deletions
|
@ -120,9 +120,10 @@ void Wizard::MainWizard::addLogText(const QString &text)
|
|||
QTextStream out(&file);
|
||||
|
||||
if (!text.isEmpty())
|
||||
out << text << endl;
|
||||
|
||||
// file.close();
|
||||
{
|
||||
out << text << "\n";
|
||||
out.flush();
|
||||
}
|
||||
}
|
||||
|
||||
void Wizard::MainWizard::setupGameSettings()
|
||||
|
|
Loading…
Reference in a new issue