mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: someone's typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9d72cc17c1
commit
72e9d4779b
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ void CalendarApplet::updateDate()
|
||||||
const int updateIn = (secsInDay) - (sinceEpoch % secsInDay);
|
const int updateIn = (secsInDay) - (sinceEpoch % secsInDay);
|
||||||
if (updateIn > secsInDay - 60) {
|
if (updateIn > secsInDay - 60) {
|
||||||
// after midnight, we try and update right away again in case of odd clock drifting
|
// after midnight, we try and update right away again in case of odd clock drifting
|
||||||
// that could cause us to miss (or delay) the date chagne
|
// that could cause us to miss (or delay) the date change
|
||||||
m_dateUpdater->setInterval(60 * 1000);
|
m_dateUpdater->setInterval(60 * 1000);
|
||||||
} else if (updateIn < m_dateUpdater->interval()) {
|
} else if (updateIn < m_dateUpdater->interval()) {
|
||||||
m_dateUpdater->setInterval(updateIn * 1000);
|
m_dateUpdater->setInterval(updateIn * 1000);
|
||||||
|
|
Loading…
Add table
Reference in a new issue