summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/ppp/PPPAuthedit.cpp
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/ppp/PPPAuthedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/ppp/PPPAuthedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/ppp/PPPAuthedit.cpp b/noncore/settings/networksettings2/ppp/PPPAuthedit.cpp
index 450d560..9403694 100644
--- a/noncore/settings/networksettings2/ppp/PPPAuthedit.cpp
+++ b/noncore/settings/networksettings2/ppp/PPPAuthedit.cpp
@@ -34,13 +34,13 @@ QString PPPAuthEdit::acceptable( void ) {
34 if( Secret_LE->text().isEmpty() ) 34 if( Secret_LE->text().isEmpty() )
35 return tr("Pap/Chap/EAP secret id missing"); 35 return tr("Pap/Chap/EAP secret id missing");
36 } 36 }
37 return QString(); 37 return QString();
38} 38}
39 39
40bool PPPAuthEdit::commit( PPPData_t & D ) { 40bool PPPAuthEdit::commit( PPPData & D ) {
41 bool SM = 0; 41 bool SM = 0;
42 42
43 if( ( D.Auth.Mode == 0 && ! Login_RB->isChecked() ) || 43 if( ( D.Auth.Mode == 0 && ! Login_RB->isChecked() ) ||
44 ( D.Auth.Mode == 1 && ! PAP_Checked() ) || 44 ( D.Auth.Mode == 1 && ! PAP_Checked() ) ||
45 ( D.Auth.Mode == 2 && ! Terminal_RB->isChecked() ) ) { 45 ( D.Auth.Mode == 2 && ! Terminal_RB->isChecked() ) ) {
46 // mode modifed 46 // mode modifed
@@ -67,13 +67,13 @@ bool PPPAuthEdit::commit( PPPData_t & D ) {
67 D.Auth.PCEMode = 2; 67 D.Auth.PCEMode = 2;
68 } 68 }
69 } 69 }
70 return SM; 70 return SM;
71} 71}
72 72
73void PPPAuthEdit::showData( PPPData_t & D ) { 73void PPPAuthEdit::showData( PPPData & D ) {
74 74
75 switch( D.Auth.Mode ) { 75 switch( D.Auth.Mode ) {
76 case 0 : 76 case 0 :
77 Login_RB->setChecked( TRUE ); 77 Login_RB->setChecked( TRUE );
78 break; 78 break;
79 case 1 : 79 case 1 :