-rw-r--r-- | core/pim/today/today.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 0fa7ad5..af1d4e4 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -91,13 +91,14 @@ void Today::draw() { | |||
91 | // how often refresh | 91 | // how often refresh |
92 | QTimer::singleShot( 5*1000, this, SLOT(draw()) ); | 92 | QTimer::singleShot( 5*1000, this, SLOT(draw()) ); |
93 | } | 93 | } |
94 | 94 | ||
95 | void Today::init() { | 95 | void Today::init() { |
96 | QDate date = QDate::currentDate(); | 96 | QDate date = QDate::currentDate(); |
97 | QString time = (tr( date.toString() ), white); | 97 | QString time = (tr( date.toString()) ); |
98 | // QString time = (tr( date.toString()) , white); | ||
98 | 99 | ||
99 | TextLabel1->setText(time); | 100 | TextLabel1->setText(time); |
100 | db = new DateBookDB; | 101 | db = new DateBookDB; |
101 | 102 | ||
102 | // read config | 103 | // read config |
103 | Config cfg("today"); | 104 | Config cfg("today"); |