author | zautrix <zautrix> | 2005-03-20 10:57:02 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-20 10:57:02 (UTC) |
commit | 289dd44f4f23d92c45d8f28c867a14a980fd5dde (patch) (side-by-side diff) | |
tree | 0c27baeb80e563e191da2a75ce3b79bfeaeec051 /korganizer | |
parent | 1ebfa83d28d9eb3f48d8240e65212bbe22defb3c (diff) | |
download | kdepimpi-289dd44f4f23d92c45d8f28c867a14a980fd5dde.zip kdepimpi-289dd44f4f23d92c45d8f28c867a14a980fd5dde.tar.gz kdepimpi-289dd44f4f23d92c45d8f28c867a14a980fd5dde.tar.bz2 |
compile fix
-rw-r--r-- | korganizer/calendarview.cpp | 14 |
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 @@ -1894,71 +1894,61 @@ void CalendarView::readSettings() w = list[2].toInt(); h = list[3].toInt(); mTodoEditor->setGeometry(x,y,w,h); } list = config->readListEntry("ViewerLayout"); if ( ! list.isEmpty() ) { x = list[0].toInt(); y = list[1].toInt(); w = list[2].toInt(); h = list[3].toInt(); getEventViewerDialog()->setGeometry(x,y,w,h); } #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(); list << QString::number( x ); list << QString::number( y ); list << QString::number( w ); list << QString::number( h ); config->writeEntry("MainLayout",list ); wid = mEventEditor; x = wid->geometry().x(); y = wid->geometry().y(); w = wid->width(); h = wid->height(); list.clear(); |