author | mickeyl <mickeyl> | 2004-03-05 21:39:40 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-05 21:39:40 (UTC) |
commit | a12943ccab6b39dda5cf8561efb10eeec856f13e (patch) (unidiff) | |
tree | b22cd5c74bd4daad201eea5e485ea9856471d1f2 /noncore/net/wellenreiter/gui/wellenreiter.cpp | |
parent | 8851dc992ab535bde6cb417cafc44658953f495d (diff) | |
download | opie-a12943ccab6b39dda5cf8561efb10eeec856f13e.zip opie-a12943ccab6b39dda5cf8561efb10eeec856f13e.tar.gz opie-a12943ccab6b39dda5cf8561efb10eeec856f13e.tar.bz2 |
change copyright notice
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index db68e5b..67e3940 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -513,5 +513,13 @@ void Wellenreiter::startClicked() | |||
513 | // TODO: check if interface is wireless and support sniffing for non-wireless interfaces | 513 | // TODO: check if interface is wireless and support sniffing for non-wireless interfaces |
514 | 514 | ||
515 | if ( !net->isPresent( interface ) ) | ||
516 | { | ||
517 | QMessageBox::information( this, "Wellenreiter II", | ||
518 | tr( "The configured device (%1)\nis not available on this system\n. Please reconfigure!" ).arg( interface ) ); | ||
519 | return; | ||
520 | } | ||
521 | |||
515 | iface = static_cast<OWirelessNetworkInterface*>(net->interface( interface )); // fails if network is not wireless! | 522 | iface = static_cast<OWirelessNetworkInterface*>(net->interface( interface )); // fails if network is not wireless! |
523 | assert( iface ); | ||
516 | 524 | ||
517 | // bring device UP | 525 | // bring device UP |