-rw-r--r-- | korganizer/komonthview.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index b819eec..437debe 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -62,4 +62,5 @@ class KNOWhatsThis :public QWhatsThis public: KNOWhatsThis( KNoScrollListBox* sbox ) : QWhatsThis( sbox ), _wid( sbox) { }; + //~KNOWhatsThis( ) {qDebug("~KNOWhatsThis( ) "); }; protected: @@ -84,5 +85,5 @@ KNoScrollListBox::KNoScrollListBox(QWidget *parent,const char *name) KNoScrollListBox::~KNoScrollListBox() { - delete mWT; + } QString KNoScrollListBox::getWhatsThisText(QPoint p) @@ -660,7 +661,9 @@ void MonthViewCell::resizeEvent ( QResizeEvent * ) if ( !mMonthView->isUpdatePossible() ) return; +#ifndef DESKTOP_VERSION if ( !isVisible() ){ return; } +#endif int size = height() - mLabel->height(); if ( size > 0 ) @@ -738,5 +741,6 @@ KOMonthView::KOMonthView(Calendar *calendar, QWidget *parent, const char *name) mShortDayLabels( false ), mWidthLongDayLabel( 0 ), mSelectedCell( 0 ) { - updatePossible = false; + + updatePossible = false; mCells.setAutoDelete( true ); mShowSatSunComp = KOPrefs::instance()->mMonthViewSatSunTog ; |