mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Qt/AdvancedPane: Force UTC time for custom RTC entry
This commit is contained in:
parent
eae68194b3
commit
4d15fb62d9
@ -156,7 +156,9 @@ void AdvancedPane::CreateLayout()
|
|||||||
m_custom_rtc_datetime->setDisplayFormat(m_custom_rtc_datetime->displayFormat().replace(
|
m_custom_rtc_datetime->setDisplayFormat(m_custom_rtc_datetime->displayFormat().replace(
|
||||||
QStringLiteral("yy"), QStringLiteral("yyyy")));
|
QStringLiteral("yy"), QStringLiteral("yyyy")));
|
||||||
}
|
}
|
||||||
m_custom_rtc_datetime->setDateRange({2000, 1, 1}, {2099, 12, 31});
|
m_custom_rtc_datetime->setDateTimeRange(QDateTime({2000, 1, 1}, {0, 0, 0}, Qt::UTC),
|
||||||
|
QDateTime({2099, 12, 31}, {23, 59, 59}, Qt::UTC));
|
||||||
|
m_custom_rtc_datetime->setTimeSpec(Qt::UTC);
|
||||||
rtc_options->layout()->addWidget(m_custom_rtc_datetime);
|
rtc_options->layout()->addWidget(m_custom_rtc_datetime);
|
||||||
|
|
||||||
auto* custom_rtc_description =
|
auto* custom_rtc_description =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user