summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanimp.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanimp.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp.cpp b/noncore/settings/networksettings/wlan/wlanimp.cpp
index 3797e22..57266bb 100644
--- a/noncore/settings/networksettings/wlan/wlanimp.cpp
+++ b/noncore/settings/networksettings/wlan/wlanimp.cpp
@@ -15,5 +15,8 @@
-/* system() */
-//#include <stdlib.h>
+#ifdef QTE_VERSION
#include <opie/oprocess.h>
+#else
+ #define OProcess KProcess
+ #include <kprocess.h>
+#endif
@@ -228,3 +231,4 @@ void WLANImp::accept(){
- OProcess insert(QString("sh"));
+ OProcess insert;
+ insert << "sh";
insert << "-c";
@@ -240,3 +244 @@ void WLANImp::accept(){
-// wlanimp.cpp
-