summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 9acbbb1..3ce123c 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -1906,47 +1906,37 @@ void CalendarView::readSettings()
}
#endif
}
void CalendarView::writeSettings()
{
// kdDebug() << "CalendarView::writeSettings" << endl;
KConfig *config = KOGlobals::config();
-#ifndef KORG_NOSPLITTER
- config->setGroup("KOrganizer Geometry");
-
- QValueList<int> list = mPanner->sizes();
- config->writeEntry("Separator1",list);
-
- list = mLeftSplitter->sizes();
- config->writeEntry("Separator2",list);
-#endif
-
mViewManager->writeSettings( config );
mTodoList->saveLayout(config,QString("Todo Layout"));
mDialogManager->writeSettings( config );
//KOPrefs::instance()->usrWriteConfig();
KOPrefs::instance()->writeConfig();
writeFilterSettings(config);
config->setGroup( "Views" );
config->writeEntry( "ShownDatesCount", mNavigator->selectedDates().count() );
- QValueList<int> list = mLeftFrame->sizes();
- config->writeEntry("Left Splitter Frame",list);
+ QValueList<int> listINT = mLeftFrame->sizes();
+ config->writeEntry("Left Splitter Frame",listINT);
#ifdef DESKTOP_VERSION
config->setGroup("WidgetLayout");
QStringList list ;//= config->readListEntry("MainLayout");
int x,y,w,h;
QWidget* wid;
wid = topLevelWidget();
x = wid->geometry().x();
y = wid->geometry().y();
w = wid->width();
h = wid->height();
list.clear();