1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-30 16:06:30 -05:00

settings: Require time zone setting value for stirng

This commit is contained in:
lat9nq
2023-07-04 16:48:48 -04:00
parent 07e8477f5a
commit ff6a5031d5
4 changed files with 7 additions and 5 deletions

View File

@@ -318,7 +318,8 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
{
{static_cast<u32>(Settings::TimeZone::Auto),
tr("Auto (%1)", "Auto select time zone")
.arg(QString::fromStdString(Settings::GetTimeZoneString()))},
.arg(QString::fromStdString(
Settings::GetTimeZoneString(Settings::TimeZone::Auto)))},
{static_cast<u32>(Settings::TimeZone::Default),
tr("Default (%1)", "Default time zone")
.arg(QString::fromStdString(Common::TimeZone::GetDefaultTimeZone()))},