author | tille <tille> | 2003-06-02 14:25:18 (UTC) |
---|---|---|
committer | tille <tille> | 2003-06-02 14:25:18 (UTC) |
commit | c1e61c513803b05eea14de18604ef05d2f73d5a7 (patch) (unidiff) | |
tree | 9b4abc263eda4a6d0e9610bc22074f0d787c28e5 /noncore/settings/networksettings/ppp/edit.cpp | |
parent | c74e5cd0fc051750c3d88cba0178f62b8ce3b5bb (diff) | |
download | opie-c1e61c513803b05eea14de18604ef05d2f73d5a7.zip opie-c1e61c513803b05eea14de18604ef05d2f73d5a7.tar.gz opie-c1e61c513803b05eea14de18604ef05d2f73d5a7.tar.bz2 |
save pppd arguments
Diffstat (limited to 'noncore/settings/networksettings/ppp/edit.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/edit.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/edit.cpp b/noncore/settings/networksettings/ppp/edit.cpp index 10bc25c..45d6e4f 100644 --- a/noncore/settings/networksettings/ppp/edit.cpp +++ b/noncore/settings/networksettings/ppp/edit.cpp | |||
@@ -170,25 +170,24 @@ DialWidget::DialWidget( PPPData *pd, QWidget *parent, bool isnewaccount | |||
170 | 170 | ||
171 | auth->setCurrentItem(_pppdata->authMethod()); | 171 | auth->setCurrentItem(_pppdata->authMethod()); |
172 | store_password->setChecked(_pppdata->storePassword()); | 172 | store_password->setChecked(_pppdata->storePassword()); |
173 | } else { | 173 | } else { |
174 | // select PAP/CHAP as default | 174 | // select PAP/CHAP as default |
175 | auth->setCurrentItem(AUTH_PAPCHAP); | 175 | auth->setCurrentItem(AUTH_PAPCHAP); |
176 | } | 176 | } |
177 | 177 | ||
178 | numbersChanged(); | 178 | numbersChanged(); |
179 | tl->activate(); | 179 | tl->activate(); |
180 | } | 180 | } |
181 | 181 | ||
182 | |||
183 | bool DialWidget::save() { | 182 | bool DialWidget::save() { |
184 | //first check to make sure that the account name is unique! | 183 | //first check to make sure that the account name is unique! |
185 | if(connectname_l->text().isEmpty() || | 184 | if(connectname_l->text().isEmpty() || |
186 | !_pppdata->isUniqueAccname(connectname_l->text())) { | 185 | !_pppdata->isUniqueAccname(connectname_l->text())) { |
187 | return false; | 186 | return false; |
188 | } else { | 187 | } else { |
189 | _pppdata->setAccname(connectname_l->text()); | 188 | _pppdata->setAccname(connectname_l->text()); |
190 | 189 | ||
191 | QString number = ""; | 190 | QString number = ""; |
192 | for(uint i = 0; i < numbers->count(); i++) { | 191 | for(uint i = 0; i < numbers->count(); i++) { |
193 | if(i != 0) | 192 | if(i != 0) |
194 | number += ":"; | 193 | number += ":"; |