summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kabcore.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/kabcore.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index a4f3579..cba5850 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -585,24 +585,7 @@ void KABCore::saveSettings()
mViewManager->saveSettings();
KABPrefs::instance()->mCurrentIncSearchField = mIncSearchWidget->currentItem();
-#ifdef DESKTOP_VERSION
- KConfig *config = KABPrefs::instance()->getConfig();
- 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 );
-#endif
+
KABPrefs::instance()->writeConfig();
qDebug("KA: KABCore::saveSettings() ");
}