datetime: default 24 hour format

Change-Id: I778ca0efc37c9fb9985dc10b96b277cc05283604
This commit is contained in:
石博文 2017-04-06 16:53:16 +08:00
parent 007650cf2c
commit 11dcf0178c
Notes: Deepin Code Review 2017-04-06 16:58:53 +08:00
Code-Review+2: 石博文 <sbw@sbw.so>
Verified+1: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Thu, 06 Apr 2017 16:58:53 +0800
Reviewed-on: https://cr.deepin.io/22087
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -12,7 +12,7 @@ DatetimeWidget::DatetimeWidget(QWidget *parent)
m_settings("deepin", "dde-dock-datetime"),
m_24HourFormat(m_settings.value("24HourFormat").toBool())
m_24HourFormat(m_settings.value("24HourFormat", true).toBool())
{
}