author | mickeyl <mickeyl> | 2003-10-28 16:39:26 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-10-28 16:39:26 (UTC) |
commit | 5acd7ce51829c317f6218ff059d0d2f63cdb0871 (patch) (unidiff) | |
tree | 8db30d3910ebd8c6936ea4aaa35b03da1faa2f1e | |
parent | 877bc5c756d94db71a745596dd7e48104a2ec9a1 (diff) | |
download | opie-5acd7ce51829c317f6218ff059d0d2f63cdb0871.zip opie-5acd7ce51829c317f6218ff059d0d2f63cdb0871.tar.gz opie-5acd7ce51829c317f6218ff059d0d2f63cdb0871.tar.bz2 |
catch up with API changes in libopienet
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 60bf231..365efb0 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -393,5 +393,5 @@ void Wellenreiter::stopClicked() | |||
393 | { | 393 | { |
394 | // switch off monitor mode | 394 | // switch off monitor mode |
395 | iface->setMonitorMode( false ); | 395 | iface->setMode( "managed" ); |
396 | // switch off promisc flag | 396 | // switch off promisc flag |
397 | iface->setPromiscuousMode( false ); | 397 | iface->setPromiscuousMode( false ); |
@@ -477,6 +477,6 @@ void Wellenreiter::startClicked() | |||
477 | { | 477 | { |
478 | if ( cardtype != DEVTYPE_MANUAL ) | 478 | if ( cardtype != DEVTYPE_MANUAL ) |
479 | iface->setMonitorMode( true ); | 479 | iface->setMode( "monitor" ); |
480 | if ( !iface->monitorMode() ) | 480 | if ( iface->mode() != "monitor" ) |
481 | { | 481 | { |
482 | if ( QMessageBox::warning( this, "Wellenreiter II", | 482 | if ( QMessageBox::warning( this, "Wellenreiter II", |