Commit 86597aad authored by David Jarvie's avatar David Jarvie

Use default locale, not system one

parent c6dfbdba
......@@ -224,7 +224,7 @@ namespace
bool use12HourClock()
{
const QString fmt = QLocale::system().timeFormat();
const QString fmt = QLocale().timeFormat();
// 'A' or 'a' = show am/pm; 'H' displays 24-hour format regardless.
return fmt.contains(QLatin1Char('a'), Qt::CaseInsensitive) && !fmt.contains(QLatin1Char('H'));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment