-rw-r--r-- | korganizer/calendarview.cpp | 6 |
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 @@ -1861,7 +1861,7 @@ 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; } else { @@ -1963,8 +1963,8 @@ 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"); QStringList list ;//= config->readListEntry("MainLayout"); |