I don't know who put this damn spaces there

This commit is contained in:
Krzysztof A. Sobiecki 2014-02-09 17:07:35 +01:00
parent 8f646de79d
commit c71782c700
8 changed files with 15 additions and 15 deletions

View File

@ -284,7 +284,7 @@ void WriteContainer(const T& container, QSettings* s, const char* array_name,
const char* item_name) {
s->beginWriteArray(array_name, container.count());
int index = 0;
for (const typename T::value_type & item : container) {
for (const auto& item : container) {
s->setArrayIndex(index++);
s->setValue(item_name, item);
}