-rw-r--r-- | libkdepim/phoneaccess.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libkdepim/phoneaccess.cpp b/libkdepim/phoneaccess.cpp index c0bd6cc..357cd39 100644 --- a/libkdepim/phoneaccess.cpp +++ b/libkdepim/phoneaccess.cpp @@ -42,3 +42,3 @@ void PhoneAccess::writeConfig( QString device, QString connection, QString model //qDebug("save %d ", load ); - QString content; + QString content = "[gammu]\n";; bool write = false; @@ -97,4 +97,2 @@ void PhoneAccess::writeConfig( QString device, QString connection, QString model if ( addConnection ) { - if ( ! write ) - content += "[gammu]\n"; write = true; @@ -105,4 +103,2 @@ void PhoneAccess::writeConfig( QString device, QString connection, QString model if ( addPort ) { - if ( ! write ) - content += "[gammu]\n"; write = true; @@ -114,4 +110,2 @@ void PhoneAccess::writeConfig( QString device, QString connection, QString model if ( addModel ) { - if ( ! write ) - content += "[gammu]\n"; write = true; |