-rw-r--r-- | noncore/settings/networksettings/ppp/interfaceppp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/interfaceppp.cpp b/noncore/settings/networksettings/ppp/interfaceppp.cpp index 85ddbee..9ec30bc 100644 --- a/noncore/settings/networksettings/ppp/interfaceppp.cpp +++ b/noncore/settings/networksettings/ppp/interfaceppp.cpp | |||
@@ -25,32 +25,33 @@ PPPData* InterfacePPP::data() | |||
25 | } | 25 | } |
26 | return _dataPtr; | 26 | return _dataPtr; |
27 | } | 27 | } |
28 | 28 | ||
29 | Modem* InterfacePPP::modem() | 29 | Modem* InterfacePPP::modem() |
30 | { | 30 | { |
31 | if (!_modemPtr){ | 31 | if (!_modemPtr){ |
32 | qDebug("creating new modem obj"); | 32 | qDebug("creating new modem obj"); |
33 | _modemPtr = new Modem( data() ); | 33 | _modemPtr = new Modem( data() ); |
34 | } | 34 | } |
35 | return _modemPtr; | 35 | return _modemPtr; |
36 | } | 36 | } |
37 | 37 | ||
38 | bool InterfacePPP::refresh() | 38 | bool InterfacePPP::refresh() |
39 | { | 39 | { |
40 | qDebug("InterfacePPP::refresh()"); | 40 | qDebug("InterfacePPP::refresh()"); |
41 | updateInterface(this); | ||
41 | QMessageBox::information(0,"Not Implemented","This feature is not yet implemneted... ;-("); | 42 | QMessageBox::information(0,"Not Implemented","This feature is not yet implemneted... ;-("); |
42 | return false; | 43 | return false; |
43 | } | 44 | } |
44 | 45 | ||
45 | void InterfacePPP::start() | 46 | void InterfacePPP::start() |
46 | { | 47 | { |
47 | qDebug("InterfacePPP::start"); | 48 | qDebug("InterfacePPP::start"); |
48 | // should work... | 49 | // should work... |
49 | // if (data()->password().isEmpty() ){ | 50 | // if (data()->password().isEmpty() ){ |
50 | // //FIXME: ask for password | 51 | // //FIXME: ask for password |
51 | // qDebug("using dummy password"); | 52 | // qDebug("using dummy password"); |
52 | // QMessageBox::critical( 0, "no password", "you should be prompted for a password, but you are not! ;-)"); | 53 | // QMessageBox::critical( 0, "no password", "you should be prompted for a password, but you are not! ;-)"); |
53 | // } | 54 | // } |
54 | 55 | ||
55 | 56 | ||
56 | QFileInfo info(pppdPath()); | 57 | QFileInfo info(pppdPath()); |