summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_system.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp
index 10645a2b3..ff18ace40 100644
--- a/src/yuzu/configuration/configure_system.cpp
+++ b/src/yuzu/configuration/configure_system.cpp
@@ -66,8 +66,9 @@ void ConfigureSystem::setConfiguration() {
66 ui->rng_seed_checkbox->setChecked(Settings::values.rng_seed.has_value()); 66 ui->rng_seed_checkbox->setChecked(Settings::values.rng_seed.has_value());
67 ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.has_value()); 67 ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.has_value());
68 68
69 const auto rng_seed = 69 const auto rng_seed = QStringLiteral("%1")
70 QString("%1").arg(Settings::values.rng_seed.value_or(0), 8, 16, QLatin1Char{'0'}).toUpper(); 70 .arg(Settings::values.rng_seed.value_or(0), 8, 16, QLatin1Char{'0'})
71 .toUpper();
71 ui->rng_seed_edit->setText(rng_seed); 72 ui->rng_seed_edit->setText(rng_seed);
72 73
73 ui->custom_rtc_checkbox->setChecked(Settings::values.custom_rtc.has_value()); 74 ui->custom_rtc_checkbox->setChecked(Settings::values.custom_rtc.has_value());