aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-06 08:42:39 -0400
committerKen Moore <moorekou@gmail.com>2016-06-06 08:42:39 -0400
commit64add13583bad66b9fcd365797f22b77d885af34 (patch)
treeab35310245869b5c9e235f0f2b437140d70afde2 /src-qt5/core
parentFix a bunch of little things with the desktop: (diff)
downloadlumina-64add13583bad66b9fcd365797f22b77d885af34.tar.gz
lumina-64add13583bad66b9fcd365797f22b77d885af34.tar.bz2
lumina-64add13583bad66b9fcd365797f22b77d885af34.zip
Make sure the calendar plugin "rolls-over" when a new day begins (keep the current date in sync).
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h b/src-qt5/core/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h
index b3a6a8d7..abb138f7 100644
--- a/src-qt5/core/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h
+++ b/src-qt5/core/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h
@@ -31,6 +31,7 @@ public:
timer = new QTimer(this);
timer->setInterval(1800000); //30 minute refresh timer
timer->start();
+ connect(timer, SIGNAL(timeout()), this, SLOT(updateDate()) );
QTimer::singleShot(0,this, SLOT(updateDate()) );
connect(this, SIGNAL(PluginResized()), this, SLOT(UpdateCalendarSize()));
}
bgstack15