Do not use deprecated QTextStream::endl

pull/578/head
Andrei Kortunov 5 years ago
parent 2b4274bca8
commit 98bb73ffb7

@ -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…
Cancel
Save