author | benmeyer <benmeyer> | 2002-12-16 16:21:51 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-12-16 16:21:51 (UTC) |
commit | dabe9c5ee8c2d51fe13b4e3a8b160afacf0f539f (patch) (unidiff) | |
tree | 2c9a68097931a6f603be4a62e4ea002dad560dcd /noncore/net/networksetup/interfaces | |
parent | c7c8bf3d2fd133fa05ff7a5daed977c05429c4c1 (diff) | |
download | opie-dabe9c5ee8c2d51fe13b4e3a8b160afacf0f539f.zip opie-dabe9c5ee8c2d51fe13b4e3a8b160afacf0f539f.tar.gz opie-dabe9c5ee8c2d51fe13b4e3a8b160afacf0f539f.tar.bz2 |
Fixed icon bug, removed some extra uneeded code, fixed WEP config bug
Diffstat (limited to 'noncore/net/networksetup/interfaces') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/interfaces/interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/networksetup/interfaces/interface.cpp b/noncore/net/networksetup/interfaces/interface.cpp index 7ffa76f..d964961 100644 --- a/noncore/net/networksetup/interfaces/interface.cpp +++ b/noncore/net/networksetup/interfaces/interface.cpp | |||
@@ -68,13 +68,13 @@ void Interface::start(){ | |||
68 | return; | 68 | return; |
69 | } | 69 | } |
70 | 70 | ||
71 | int ret = system(QString("%1 %2 up").arg(IFCONFIG).arg(this->name()).latin1()); | 71 | int ret = system(QString("%1 %2 up").arg(IFCONFIG).arg(this->name()).latin1()); |
72 | // See if it was successfull... | 72 | // See if it was successfull... |
73 | if(ret != 0){ | 73 | if(ret != 0){ |
74 | emit (updateMessage("Starting interface failed.")); | 74 | emit (updateMessage("Starting interface failed")); |
75 | return; | 75 | return; |
76 | } | 76 | } |
77 | 77 | ||
78 | status = true; | 78 | status = true; |
79 | refresh(); | 79 | refresh(); |
80 | emit (updateMessage("Start successfull")); | 80 | emit (updateMessage("Start successfull")); |
@@ -89,13 +89,13 @@ void Interface::stop(){ | |||
89 | emit (updateMessage("Unable to stop interface,\n already stopped")); | 89 | emit (updateMessage("Unable to stop interface,\n already stopped")); |
90 | return; | 90 | return; |
91 | } | 91 | } |
92 | 92 | ||
93 | int ret = system(QString("%1 %2 down").arg(IFCONFIG).arg(this->name()).latin1()); | 93 | int ret = system(QString("%1 %2 down").arg(IFCONFIG).arg(this->name()).latin1()); |
94 | if(ret != 0){ | 94 | if(ret != 0){ |
95 | emit (updateMessage("Stopping interface failed.")); | 95 | emit (updateMessage("Stopping interface failed")); |
96 | return; | 96 | return; |
97 | } | 97 | } |
98 | 98 | ||
99 | status = false; | 99 | status = false; |
100 | refresh(); | 100 | refresh(); |
101 | emit (updateMessage("Stop successfull")); | 101 | emit (updateMessage("Stop successfull")); |