summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-19 18:56:39 +0200
committerLioncash <mathew1800@gmail.com>2019-05-19 18:56:43 +0200
commitd9c4d64ed548f2234bb583b147e6a2089a13a538 (patch)
tree9255acc580dd51dfa5790e7dd7f38ccb7e800723
parentyuzu/configuration/configure_profile_manager: Mark UI string as translatable (diff)
downloadyuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.tar
yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.tar.gz
yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.tar.bz2
yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.tar.lz
yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.tar.xz
yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.tar.zst
yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.zip
-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() {
ui->rng_seed_checkbox->setChecked(Settings::values.rng_seed.has_value());
ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.has_value());
- const auto rng_seed =
- QString("%1").arg(Settings::values.rng_seed.value_or(0), 8, 16, QLatin1Char{'0'}).toUpper();
+ const auto rng_seed = QStringLiteral("%1")
+ .arg(Settings::values.rng_seed.value_or(0), 8, 16, QLatin1Char{'0'})
+ .toUpper();
ui->rng_seed_edit->setText(rng_seed);
ui->custom_rtc_checkbox->setChecked(Settings::values.custom_rtc.has_value());