diff options
author | Michele Calgaro <[email protected]> | 2023-12-15 12:42:30 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-15 12:42:30 +0900 |
commit | 367cb43dc1c34ab5efe331a4df08588256f34b03 (patch) | |
tree | 1a9e3f9ba87ca0b7e4b7b5230667f450878dbedd | |
parent | 84dc4614d842c33351ccf9729df122af85391fe0 (diff) | |
download | wlassistant-367cb43dc1c34ab5efe331a4df08588256f34b03.tar.gz wlassistant-367cb43dc1c34ab5efe331a4df08588256f34b03.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/wlassistant.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wlassistant.cpp b/src/wlassistant.cpp index fb70105..61dda46 100644 --- a/src/wlassistant.cpp +++ b/src/wlassistant.cpp @@ -930,7 +930,7 @@ TQString WirelessAssistant::runCommand( const TQStringList & cmd, int timeout, b // a very basic and easy-to-workaround attepmt to restrict using dangerous commands via custom commands setting. This *REALLY* needs a working solution. if ( cmd[0] == "rm" || cmd[0] == "mv" || cmd[0] == "cp" || cmd[0] == "ln" ) return TQString(); - TQProcess* p = new TQProcess( TQT_TQOBJECT(this) ); + TQProcess* p = new TQProcess( this ); p->setArguments( cmd ); p->start(); @@ -1211,7 +1211,7 @@ bool WirelessAssistant::setWpaClientEnabled( bool e, const TQString& iface, TQSt std::cout << "Using wpa_supplicant driver: " << driver.ascii() << std::endl; } - TQProcess* wp = new TQProcess( TQT_TQOBJECT(this) ); + TQProcess* wp = new TQProcess( this ); wp->clearArguments(); wp->addArgument( Commands.wpa_supplicant ); wp->addArgument( "-W" ); //wait for control interface |