-rw-r--r-- | korganizer/komonthview.cpp | 8 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 2 |
2 files changed, 7 insertions, 3 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 | |||
62 | public: | 62 | public: |
63 | KNOWhatsThis( KNoScrollListBox* sbox ) : QWhatsThis( sbox ), _wid( sbox) { }; | 63 | KNOWhatsThis( KNoScrollListBox* sbox ) : QWhatsThis( sbox ), _wid( sbox) { }; |
64 | //~KNOWhatsThis( ) {qDebug("~KNOWhatsThis( ) "); }; | ||
64 | 65 | ||
65 | protected: | 66 | protected: |
@@ -84,5 +85,5 @@ KNoScrollListBox::KNoScrollListBox(QWidget *parent,const char *name) | |||
84 | KNoScrollListBox::~KNoScrollListBox() | 85 | KNoScrollListBox::~KNoScrollListBox() |
85 | { | 86 | { |
86 | delete mWT; | 87 | |
87 | } | 88 | } |
88 | QString KNoScrollListBox::getWhatsThisText(QPoint p) | 89 | QString KNoScrollListBox::getWhatsThisText(QPoint p) |
@@ -660,7 +661,9 @@ void MonthViewCell::resizeEvent ( QResizeEvent * ) | |||
660 | if ( !mMonthView->isUpdatePossible() ) | 661 | if ( !mMonthView->isUpdatePossible() ) |
661 | return; | 662 | return; |
663 | #ifndef DESKTOP_VERSION | ||
662 | if ( !isVisible() ){ | 664 | if ( !isVisible() ){ |
663 | return; | 665 | return; |
664 | } | 666 | } |
667 | #endif | ||
665 | int size = height() - mLabel->height(); | 668 | int size = height() - mLabel->height(); |
666 | if ( size > 0 ) | 669 | if ( size > 0 ) |
@@ -738,5 +741,6 @@ KOMonthView::KOMonthView(Calendar *calendar, QWidget *parent, const char *name) | |||
738 | mShortDayLabels( false ), mWidthLongDayLabel( 0 ), mSelectedCell( 0 ) | 741 | mShortDayLabels( false ), mWidthLongDayLabel( 0 ), mSelectedCell( 0 ) |
739 | { | 742 | { |
740 | updatePossible = false; | 743 | |
744 | updatePossible = false; | ||
741 | mCells.setAutoDelete( true ); | 745 | mCells.setAutoDelete( true ); |
742 | mShowSatSunComp = KOPrefs::instance()->mMonthViewSatSunTog ; | 746 | mShowSatSunComp = KOPrefs::instance()->mMonthViewSatSunTog ; |
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index dbbe832..ddd9cf8 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -229,5 +229,5 @@ KOPrefs::KOPrefs() : | |||
229 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); | 229 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); |
230 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,true); | 230 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,true); |
231 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,true); | 231 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); |
232 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); | 232 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); |
233 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); | 233 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); |