diff --git a/apps/wizard/mainwizard.cpp b/apps/wizard/mainwizard.cpp index 1353173f4..160c6f721 100644 --- a/apps/wizard/mainwizard.cpp +++ b/apps/wizard/mainwizard.cpp @@ -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()