author | tille <tille> | 2003-06-03 14:51:12 (UTC) |
---|---|---|
committer | tille <tille> | 2003-06-03 14:51:12 (UTC) |
commit | 33cf1711b4d74036fa27dc971c25df236b8d0355 (patch) (unidiff) | |
tree | 2a35ce380e40771089e22eed2d41dfc9577ff4cf /noncore/settings/networksettings/ppp | |
parent | 4e0c9efab5f3c73a1843e96983c9cd1894e44810 (diff) | |
download | opie-33cf1711b4d74036fa27dc971c25df236b8d0355.zip opie-33cf1711b4d74036fa27dc971c25df236b8d0355.tar.gz opie-33cf1711b4d74036fa27dc971c25df236b8d0355.tar.bz2 |
should popup for passwd now...
Diffstat (limited to 'noncore/settings/networksettings/ppp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/authwidget.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/networksettings/ppp/connect.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/networksettings/ppp/interfaceppp.cpp | 11 |
3 files changed, 9 insertions, 6 deletions
diff --git a/noncore/settings/networksettings/ppp/authwidget.cpp b/noncore/settings/networksettings/ppp/authwidget.cpp index 86bea98..fa2b164 100644 --- a/noncore/settings/networksettings/ppp/authwidget.cpp +++ b/noncore/settings/networksettings/ppp/authwidget.cpp | |||
@@ -166,12 +166,14 @@ void AuthWidget::showUsernamePassword( bool show ) | |||
166 | pw_l->show(); | 166 | pw_l->show(); |
167 | passWord->show(); | 167 | passWord->show(); |
168 | store_password->show(); | 168 | store_password->show(); |
169 | hidePw->show(); | ||
169 | }else{//!show | 170 | }else{//!show |
170 | user_l->hide(); | 171 | user_l->hide(); |
171 | userName->hide(); | 172 | userName->hide(); |
172 | pw_l->hide(); | 173 | pw_l->hide(); |
173 | passWord->hide(); | 174 | passWord->hide(); |
174 | store_password->hide(); | 175 | store_password->hide(); |
176 | hidePw->hide(); | ||
175 | } | 177 | } |
176 | } | 178 | } |
177 | 179 | ||
diff --git a/noncore/settings/networksettings/ppp/connect.cpp b/noncore/settings/networksettings/ppp/connect.cpp index a93f93d..798431b 100644 --- a/noncore/settings/networksettings/ppp/connect.cpp +++ b/noncore/settings/networksettings/ppp/connect.cpp | |||
@@ -599,7 +599,7 @@ void ConnectWidget::timerEvent(QTimerEvent *) { | |||
599 | messg->setText(bm); | 599 | messg->setText(bm); |
600 | emit debugMessage(bm); | 600 | emit debugMessage(bm); |
601 | 601 | ||
602 | QString idstring = _ifaceppp->data()->storedUsername(); | 602 | QString idstring = _ifaceppp->data()->password(); |
603 | 603 | ||
604 | if(!idstring.isEmpty() && firstrunID) { | 604 | if(!idstring.isEmpty() && firstrunID) { |
605 | // the user entered an Id on the main kppp dialog | 605 | // the user entered an Id on the main kppp dialog |
diff --git a/noncore/settings/networksettings/ppp/interfaceppp.cpp b/noncore/settings/networksettings/ppp/interfaceppp.cpp index 98bb4da..85ddbee 100644 --- a/noncore/settings/networksettings/ppp/interfaceppp.cpp +++ b/noncore/settings/networksettings/ppp/interfaceppp.cpp | |||
@@ -45,11 +45,12 @@ bool InterfacePPP::refresh() | |||
45 | void InterfacePPP::start() | 45 | void InterfacePPP::start() |
46 | { | 46 | { |
47 | qDebug("InterfacePPP::start"); | 47 | qDebug("InterfacePPP::start"); |
48 | if (data()->password().isEmpty() ){ | 48 | // should work... |
49 | //FIXME: ask for password | 49 | // if (data()->password().isEmpty() ){ |
50 | qDebug("using dummy password"); | 50 | // //FIXME: ask for password |
51 | QMessageBox::critical( 0, "no password", "you should be prompted for a password, but you are not! ;-)"); | 51 | // qDebug("using dummy password"); |
52 | } | 52 | // QMessageBox::critical( 0, "no password", "you should be prompted for a password, but you are not! ;-)"); |
53 | // } | ||
53 | 54 | ||
54 | 55 | ||
55 | QFileInfo info(pppdPath()); | 56 | QFileInfo info(pppdPath()); |