author | zautrix <zautrix> | 2004-08-01 13:59:52 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-01 13:59:52 (UTC) |
commit | 43d6cf3619675856333d82ae2fcad6ce81d824b8 (patch) (unidiff) | |
tree | 40629720fce9e0840fc4ab50ab1ef746a7c07375 /libkdepim/ksyncprefsdialog.cpp | |
parent | 47a3a79ddde4ab63d34ddb0ffaa92d65f04de8ad (diff) | |
download | kdepimpi-43d6cf3619675856333d82ae2fcad6ce81d824b8.zip kdepimpi-43d6cf3619675856333d82ae2fcad6ce81d824b8.tar.gz kdepimpi-43d6cf3619675856333d82ae2fcad6ce81d824b8.tar.bz2 |
fixed sync config
Diffstat (limited to 'libkdepim/ksyncprefsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/ksyncprefsdialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libkdepim/ksyncprefsdialog.cpp b/libkdepim/ksyncprefsdialog.cpp index 8d610d8..3df2a3b 100644 --- a/libkdepim/ksyncprefsdialog.cpp +++ b/libkdepim/ksyncprefsdialog.cpp | |||
@@ -435,4 +435,5 @@ void KSyncPrefsDialog::usrReadConfig() | |||
435 | config.setGroup("SyncProfiles"); | 435 | config.setGroup("SyncProfiles"); |
436 | mSyncProfileNames =config.readListEntry("SyncProfileNames"); | 436 | mSyncProfileNames =config.readListEntry("SyncProfileNames"); |
437 | mMyMachineName->setText(config.readEntry("LocalMachineName","undefined")); | ||
437 | int i; | 438 | int i; |
438 | KSyncProfile* temp ; | 439 | KSyncProfile* temp ; |
@@ -464,5 +465,7 @@ void KSyncPrefsDialog::usrWriteConfig() | |||
464 | //KOPrefs::instance()->mSyncProfileNames = mSyncProfileNames; | 465 | //KOPrefs::instance()->mSyncProfileNames = mSyncProfileNames; |
465 | //KOPrefs::instance()->mLocalMachineName = mMyMachineName->text(); | 466 | //KOPrefs::instance()->mLocalMachineName = mMyMachineName->text(); |
466 | config.writeEntry("SyncProfileNames",&mSyncProfileNames); | 467 | config.writeEntry("SyncProfileNames",mSyncProfileNames); |
468 | QString name = mMyMachineName->text(); | ||
469 | config.writeEntry("LocalMachineName",name); | ||
467 | } | 470 | } |
468 | 471 | ||