diff options
| author | 2019-05-19 12:56:39 -0400 | |
|---|---|---|
| committer | 2019-05-19 12:56:43 -0400 | |
| commit | d9c4d64ed548f2234bb583b147e6a2089a13a538 (patch) | |
| tree | 9255acc580dd51dfa5790e7dd7f38ccb7e800723 /src | |
| parent | yuzu/configuration/configure_profile_manager: Mark UI string as translatable (diff) | |
| download | yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.tar.gz yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.tar.xz yuzu-d9c4d64ed548f2234bb583b147e6a2089a13a538.zip | |
yuzu/configuration/configure_system: Specify string conversions explicitly
Allows the system config code to build successfully with implicit string
conversions disabled.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configure_system.cpp | 5 |
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()); |