mirror of
https://github.com/august-alt/gpui.git
synced 2025-03-14 12:58:39 +03:00
fix: invalid valueName/data writing
This commit is contained in:
parent
fd6a2b99c9
commit
6a7b5c4241
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user