mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 21:07:52 +00:00
yuzu/config: Silence truncation warnings
This commit is contained in:
parent
f96bb2520b
commit
f5f35caf20
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ void Config::SaveValues() {
|
||||||
qt_config->setValue("title_id", QVariant::fromValue<u64>(elem.first));
|
qt_config->setValue("title_id", QVariant::fromValue<u64>(elem.first));
|
||||||
qt_config->beginWriteArray("disabled");
|
qt_config->beginWriteArray("disabled");
|
||||||
for (std::size_t j = 0; j < elem.second.size(); ++j) {
|
for (std::size_t j = 0; j < elem.second.size(); ++j) {
|
||||||
qt_config->setArrayIndex(j);
|
qt_config->setArrayIndex(static_cast<int>(j));
|
||||||
qt_config->setValue("d", QString::fromStdString(elem.second[j]));
|
qt_config->setValue("d", QString::fromStdString(elem.second[j]));
|
||||||
}
|
}
|
||||||
qt_config->endArray();
|
qt_config->endArray();
|
||||||
|
|
Loading…
Reference in a new issue