mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00
fixed(bug:3668):if time modifyed refresh dock time
This commit is contained in:
parent
f14dc75d06
commit
2ea297774a
@ -220,7 +220,7 @@ void DatetimePlugin::updateCurrentTimeString()
|
||||
else
|
||||
m_dateTipsLabel->setText(currentDateTime.date().toString(Qt::SystemLocaleLongDate) + currentDateTime.toString(" hh:mm:ss A"));
|
||||
|
||||
const QString currentString = currentDateTime.toString("mm");
|
||||
const QString currentString = currentDateTime.toString("yyyy/MM/dd hh:mm");
|
||||
|
||||
if (currentString == m_currentTimeString)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user