We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e467d2 commit 8efff03Copy full SHA for 8efff03
plugin-worldclock/lxqtworldclock.cpp
@@ -102,7 +102,7 @@ void LXQtWorldClock::updateTimeText()
102
{
103
isUpToDate = false;
104
if (mUpdateInterval < 60000)
105
- mShownTime = tzNow.addSecs(-tzNow.time().msec()); // s
+ mShownTime = tzNow.addMSecs(-tzNow.time().msec()); // s
106
else if (mUpdateInterval < 3600000)
107
mShownTime = tzNow.addSecs(-tzNow.time().second()); // m
108
else
@@ -116,7 +116,7 @@ void LXQtWorldClock::updateTimeText()
116
if (diff < 0 || diff >= 1)
117
118
119
- mShownTime = tzNow.addSecs(-tzNow.time().msec());
+ mShownTime = tzNow.addMSecs(-tzNow.time().msec());
120
}
121
122
0 commit comments