-rw-r--r-- | library/datebookmonth.cpp | 5 |
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 @@ -168,6 +168,11 @@ DateBookMonthTable::DateBookMonthTable( QWidget *parent, const char *name, selMonth = -1; selDay = -1; + /* init these as well make valgrind happy and be consistent with Qtopia1.6 -zecke */ + year = -1; + month = -1; + day = -1; + Config cfg( "qpe" ); cfg.setGroup( "Time" ); d->onMonday = cfg.readBoolEntry( "MONDAY" ); |