author | zautrix <zautrix> | 2004-09-08 10:12:21 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-08 10:12:21 (UTC) |
commit | cdff4506a9148c47406af86968da73c0dbfca0ba (patch) (side-by-side diff) | |
tree | 10cf9302bfd14d768005e7ac3192f936364bd77d /korganizer | |
parent | 848c77f86b7105095b27a6034a0fefac8a7a0891 (diff) | |
download | kdepimpi-cdff4506a9148c47406af86968da73c0dbfca0ba.zip kdepimpi-cdff4506a9148c47406af86968da73c0dbfca0ba.tar.gz kdepimpi-cdff4506a9148c47406af86968da73c0dbfca0ba.tar.bz2 |
Changing sync profiles filename
-rw-r--r-- | korganizer/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 7978b46..9e326a1 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -856,7 +856,7 @@ void MainWindow::fillSyncMenu() syncMenu->insertSeparator(); syncMenu->insertItem( i18n("Multiple sync"), 1 ); syncMenu->insertSeparator(); - KConfig config ( locateLocal( "config","syncprofilesrc" ) ); + KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); config.setGroup("General"); QStringList prof = config.readListEntry("SyncProfileNames"); KOPrefs::instance()->mLocalMachineName = config.readEntry("LocalMachineName","undefined"); @@ -899,7 +899,7 @@ int MainWindow::ringSync() int syncedProfiles = 0; int i; QTime timer; - KConfig config ( locateLocal( "config","syncprofilesrc" ) ); + KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); QStringList syncProfileNames = KOPrefs::instance()->mSyncProfileNames; KSyncProfile* temp = new KSyncProfile (); KOPrefs::instance()->mAskForPreferences = false; @@ -1003,7 +1003,7 @@ void MainWindow::slotSyncMenu( int action ) mCurrentSyncProfile = action - 1000 ; mView->setSyncDevice(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile] ); mView->setSyncName( KOPrefs::instance()->mLocalMachineName ); - KConfig config ( locateLocal( "config","syncprofilesrc" ) ); + KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); KSyncProfile* temp = new KSyncProfile (); temp->setName(KOPrefs::instance()->mSyncProfileNames[mCurrentSyncProfile]); temp->readConfig(&config); |