mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Remove unnecessary comment entry in the config file.
This commit is contained in:
parent
f3e040b531
commit
8e8da724f5
@ -291,9 +291,9 @@ bool Config::GameSettings::writeFileWithComments(QFile &file)
|
|||||||
stream << key << "=" << value << "\n";
|
stream << key << "=" << value << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// new entries
|
||||||
if (!userSettingsCopy.empty())
|
if (!userSettingsCopy.empty())
|
||||||
{
|
{
|
||||||
stream << "# new entries" << "\n";
|
|
||||||
QMap<QString, QString>::const_iterator it = userSettingsCopy.begin();
|
QMap<QString, QString>::const_iterator it = userSettingsCopy.begin();
|
||||||
for (; it != userSettingsCopy.end(); ++it)
|
for (; it != userSettingsCopy.end(); ++it)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user