summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings
authortille <tille>2003-06-03 14:51:12 (UTC)
committer tille <tille>2003-06-03 14:51:12 (UTC)
commit33cf1711b4d74036fa27dc971c25df236b8d0355 (patch) (side-by-side diff)
tree2a35ce380e40771089e22eed2d41dfc9577ff4cf /noncore/settings/networksettings
parent4e0c9efab5f3c73a1843e96983c9cd1894e44810 (diff)
downloadopie-33cf1711b4d74036fa27dc971c25df236b8d0355.zip
opie-33cf1711b4d74036fa27dc971c25df236b8d0355.tar.gz
opie-33cf1711b4d74036fa27dc971c25df236b8d0355.tar.bz2
should popup for passwd now...
Diffstat (limited to 'noncore/settings/networksettings') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/authwidget.cpp2
-rw-r--r--noncore/settings/networksettings/ppp/connect.cpp2
-rw-r--r--noncore/settings/networksettings/ppp/interfaceppp.cpp11
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
@@ -163,18 +163,20 @@ void AuthWidget::showUsernamePassword( bool show )
if (show){
user_l->show();
userName->show();
pw_l->show();
passWord->show();
store_password->show();
+ hidePw->show();
}else{//!show
user_l->hide();
userName->hide();
pw_l->hide();
passWord->hide();
store_password->hide();
+ hidePw->hide();
}
}
void AuthWidget::showScriptWindow( bool show )
{
if (show){
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
@@ -596,13 +596,13 @@ void ConnectWidget::timerEvent(QTimerEvent *) {
if (scriptCommand == "ID") {
QString bm = i18n("ID %1").arg(scriptArgument);
messg->setText(bm);
emit debugMessage(bm);
- QString idstring = _ifaceppp->data()->storedUsername();
+ QString idstring = _ifaceppp->data()->password();
if(!idstring.isEmpty() && firstrunID) {
// the user entered an Id on the main kppp dialog
writeline(idstring);
firstrunID = false;
scriptindex++;
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
@@ -42,17 +42,18 @@ bool InterfacePPP::refresh()
return false;
}
void InterfacePPP::start()
{
qDebug("InterfacePPP::start");
- if (data()->password().isEmpty() ){
-//FIXME: ask for password
- qDebug("using dummy password");
- QMessageBox::critical( 0, "no password", "you should be prompted for a password, but you are not! ;-)");
- }
+// should work...
+// if (data()->password().isEmpty() ){
+// //FIXME: ask for password
+// qDebug("using dummy password");
+// QMessageBox::critical( 0, "no password", "you should be prompted for a password, but you are not! ;-)");
+// }
QFileInfo info(pppdPath());
if(!info.exists()){
QMessageBox::warning(0, tr("Error"),