plasma: someone's typo

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-07-23 02:22:44 +03:00
parent 9d72cc17c1
commit 72e9d4779b

View file

@ -130,7 +130,7 @@ void CalendarApplet::updateDate()
const int updateIn = (secsInDay) - (sinceEpoch % secsInDay);
if (updateIn > secsInDay - 60) {
// 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);
} else if (updateIn < m_dateUpdater->interval()) {
m_dateUpdater->setInterval(updateIn * 1000);