1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00

Wizard: fix "file is already opened" warning

This commit is contained in:
Alexei Dobrohotov 2020-12-14 03:45:03 +03:00
parent c8d85dcf30
commit ab789e37e1

View File

@ -157,6 +157,8 @@ void Wizard::MainWizard::setupGameSettings()
mGameSettings.readUserFile(stream); mGameSettings.readUserFile(stream);
} }
file.close();
// Now the rest // Now the rest
QStringList paths; QStringList paths;
paths.append(userPath + QLatin1String("openmw.cfg")); paths.append(userPath + QLatin1String("openmw.cfg"));