-rw-r--r-- | libkdepim/ksyncprofile.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/libkdepim/ksyncprofile.cpp b/libkdepim/ksyncprofile.cpp index 15dc152..e7c35fb 100644 --- a/libkdepim/ksyncprofile.cpp +++ b/libkdepim/ksyncprofile.cpp @@ -32,9 +32,4 @@ -KSyncProfile::KSyncProfile( const char * identifier): QObject (0, identifier ) +KSyncProfile::KSyncProfile(): QObject () { - setIdentifier( identifier ); - - if (getIdentifier().isEmpty()) - setIdentifier( "noID" ); - setDefault(); @@ -70,3 +65,3 @@ KSyncProfile* KSyncProfile::clone() myClone->setName( "noName" ); - myClone->setIdentifier( "noID" ); + //myClone->setIdentifier( "noID" ); return myClone; @@ -106,3 +101,3 @@ void KSyncProfile::readConfig(KConfig *config ) - config->setGroup("SyncProfile_" + mIdentifier); + config->setGroup( mName ); @@ -142,3 +137,3 @@ void KSyncProfile::deleteConfig(KConfig *config ) { - config->deleteGroup( "SyncProfile_" + mIdentifier ); + config->deleteGroup( mName ); } @@ -147,3 +142,3 @@ void KSyncProfile::writeConfig( KConfig * config ) { - config->setGroup("SyncProfile_" + mIdentifier); + config->setGroup(mName); |