summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index ab59d00..96ced08 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -1862,5 +1862,5 @@ void CalendarView::readSettings()
mLeftFrame->setSizes(sizes);
sizes = config->readIntListEntry("Main Splitter Frame");
- if (sizes.count() != 3) {
+ if (sizes.count() != 2) {
if ( !KOPrefs::instance()->mVerticalScreen ) {
resetval = mDateNavigator->sizeHint().width()+2;
@@ -1964,6 +1964,6 @@ void CalendarView::writeSettings()
QValueList<int> listINT = mLeftFrame->sizes();
config->writeEntry("Left Splitter Frame",listINT);
- listINT = mMainFrame->sizes();
- config->writeEntry("Main Splitter Frame",listINT);
+ QValueList<int> listINT2 = mMainFrame->sizes();
+ config->writeEntry("Main Splitter Frame",listINT2);
#ifdef DESKTOP_VERSION
config->setGroup("WidgetLayout");