diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-06 08:42:39 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-06-06 08:42:39 -0400 |
commit | 64add13583bad66b9fcd365797f22b77d885af34 (patch) | |
tree | ab35310245869b5c9e235f0f2b437140d70afde2 | |
parent | Fix a bunch of little things with the desktop: (diff) | |
download | lumina-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).
-rw-r--r-- | src-qt5/core/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h | 1 |
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())); } |