Diffstat (limited to 'noncore/settings/networksettings/ppp/accounts.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/accounts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/accounts.cpp b/noncore/settings/networksettings/ppp/accounts.cpp index b8a1925a..aedc0b9 100644 --- a/noncore/settings/networksettings/ppp/accounts.cpp +++ b/noncore/settings/networksettings/ppp/accounts.cpp | |||
@@ -109,25 +109,25 @@ void AccountWidget::edit() | |||
109 | void AccountWidget::create() | 109 | void AccountWidget::create() |
110 | { | 110 | { |
111 | 111 | ||
112 | // if(listListbox->count() == MAX_ACCOUNTS) { | 112 | // if(listListbox->count() == MAX_ACCOUNTS) { |
113 | // QMessageBox::information(this, "sorry", | 113 | // QMessageBox::information(this, "sorry", |
114 | // tr("Maximum number of accounts reached.")); | 114 | // tr("Maximum number of accounts reached.")); |
115 | // return; | 115 | // return; |
116 | // } | 116 | // } |
117 | 117 | ||
118 | int result; | 118 | int result; |
119 | if (_pppdata->newaccount() == -1) | 119 | if (_pppdata->newaccount() == -1) |
120 | { | 120 | { |
121 | qDebug("_pppdata->newaccount() == -1"); | 121 | odebug << "_pppdata->newaccount() == -1" << oendl; |
122 | return; | 122 | return; |
123 | } | 123 | } |
124 | result = doTab(); | 124 | result = doTab(); |
125 | 125 | ||
126 | if(result == QDialog::Accepted) | 126 | if(result == QDialog::Accepted) |
127 | { | 127 | { |
128 | listListbox->insertItem(_pppdata->accname()); | 128 | listListbox->insertItem(_pppdata->accname()); |
129 | listListbox->setSelected(listListbox->findItem(_pppdata->accname()),true); | 129 | listListbox->setSelected(listListbox->findItem(_pppdata->accname()),true); |
130 | 130 | ||
131 | _pppdata->save(); | 131 | _pppdata->save(); |
132 | } | 132 | } |
133 | else | 133 | else |