Remove unnecessary comment entry in the config file.

c++11
cc9cii 10 years ago
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…
Cancel
Save