summaryrefslogtreecommitdiff
path: root/library/datebookmonth.cpp
Unidiff
Diffstat (limited to 'library/datebookmonth.cpp') (more/less context) (show whitespace changes)
-rw-r--r--library/datebookmonth.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/datebookmonth.cpp b/library/datebookmonth.cpp
index e8be313..728045f 100644
--- a/library/datebookmonth.cpp
+++ b/library/datebookmonth.cpp
@@ -165,12 +165,17 @@ DateBookMonthTable::DateBookMonthTable( QWidget *parent, const char *name,
165{ 165{
166 d = new DateBookMonthTablePrivate(); 166 d = new DateBookMonthTablePrivate();
167 selYear = -1; 167 selYear = -1;
168 selMonth = -1; 168 selMonth = -1;
169 selDay = -1; 169 selDay = -1;
170 170
171 /* init these as well make valgrind happy and be consistent with Qtopia1.6 -zecke */
172 year = -1;
173 month = -1;
174 day = -1;
175
171 Config cfg( "qpe" ); 176 Config cfg( "qpe" );
172 cfg.setGroup( "Time" ); 177 cfg.setGroup( "Time" );
173 d->onMonday = cfg.readBoolEntry( "MONDAY" ); 178 d->onMonday = cfg.readBoolEntry( "MONDAY" );
174 179
175 horizontalHeader()->setResizeEnabled( FALSE ); 180 horizontalHeader()->setResizeEnabled( FALSE );
176 // we have to do this here... or suffer the consequences later... 181 // we have to do this here... or suffer the consequences later...