fix: invalid valueName/data writing

This commit is contained in:
Корней Гедерт 2024-08-14 11:53:18 +04:00
parent fd6a2b99c9
commit 6a7b5c4241

View File

@ -200,7 +200,7 @@ bool writeListIntoRegistry(AbstractRegistrySource &source, QMap<std::string, QSt
// valuePrefix represents the text string to be prepended to the incremented integer for registry subkey creation.
if (!begin.value().trimmed().isEmpty())
{
source.setValue(key, begin.key(), type, QString::fromStdString(prefix) + QString::number(index));
source.setValue(key, prefix + std::to_string(index), type, begin.value());
}
}
}