-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 | |||
@@ -1862,5 +1862,5 @@ void CalendarView::readSettings() | |||
1862 | mLeftFrame->setSizes(sizes); | 1862 | mLeftFrame->setSizes(sizes); |
1863 | sizes = config->readIntListEntry("Main Splitter Frame"); | 1863 | sizes = config->readIntListEntry("Main Splitter Frame"); |
1864 | if (sizes.count() != 3) { | 1864 | if (sizes.count() != 2) { |
1865 | if ( !KOPrefs::instance()->mVerticalScreen ) { | 1865 | if ( !KOPrefs::instance()->mVerticalScreen ) { |
1866 | resetval = mDateNavigator->sizeHint().width()+2; | 1866 | resetval = mDateNavigator->sizeHint().width()+2; |
@@ -1964,6 +1964,6 @@ void CalendarView::writeSettings() | |||
1964 | QValueList<int> listINT = mLeftFrame->sizes(); | 1964 | QValueList<int> listINT = mLeftFrame->sizes(); |
1965 | config->writeEntry("Left Splitter Frame",listINT); | 1965 | config->writeEntry("Left Splitter Frame",listINT); |
1966 | listINT = mMainFrame->sizes(); | 1966 | QValueList<int> listINT2 = mMainFrame->sizes(); |
1967 | config->writeEntry("Main Splitter Frame",listINT); | 1967 | config->writeEntry("Main Splitter Frame",listINT2); |
1968 | #ifdef DESKTOP_VERSION | 1968 | #ifdef DESKTOP_VERSION |
1969 | config->setGroup("WidgetLayout"); | 1969 | config->setGroup("WidgetLayout"); |