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); QTextStream out(&file);
if (!text.isEmpty()) if (!text.isEmpty())
out << text << endl; {
out << text << "\n";
// file.close(); out.flush();
}
} }
void Wizard::MainWizard::setupGameSettings() void Wizard::MainWizard::setupGameSettings()

Loading…
Cancel
Save