From f23afbb9c09b4ee0f00af8f04ee4458181792cd0 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 20 Apr 2005 10:43:07 +0000 Subject: fixes --- (limited to 'korganizer') diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index df606d0..c32a2a4 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp @@ -63,7 +63,7 @@ class KODaymatrixWhatsThis :public QWhatsThis { public: KODaymatrixWhatsThis( KODayMatrix* view ) : QWhatsThis( view ),_view (view) { ;}; - ~KODaymatrixWhatsThis() { ; }; + ~KODaymatrixWhatsThis() { qDebug("DELETE KODaymatrixWhatsThis "); }; protected: virtual QString text( const QPoint& p ) @@ -105,11 +105,9 @@ const int KODayMatrix::NUMDAYS = 42; KODayMatrix::KODayMatrix( QWidget *parent, const char *name ) : QFrame( parent, name , Qt::WRepaintNoErase ), mCalendar( 0 ) -#if 0 -KODayMatrix::KODayMatrix(QWidget *parent, Calendar* calendar, QDate date, const char *name) : - QFrame(parent, name) -#endif + { + mLastView = -1; oldW = 0; oldH = 0; myPix.resize( 150, 120 ); @@ -244,6 +242,12 @@ QColor KODayMatrix::getShadedColor(QColor color) KODayMatrix::~KODayMatrix() { +#if QT_VERSION >= 0x030000 + +#else + delete mKODaymatrixWhatsThis; +#endif + // delete mKODaymatrixWhatsThis; delete [] days; delete [] daylbls; diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index d9d7924..e4bee63 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp @@ -1028,10 +1028,6 @@ dummy = - - - - QHBox* hbo = new QHBox ( topFrame ); mDefaultAlarmFile = new QLineEdit(hbo); QPushButton * loadTemplate = new QPushButton(hbo); -- cgit v0.9.0.2