diff --git a/wifi/kcmwifi/wificonfig.cpp b/wifi/kcmwifi/wificonfig.cpp index 58379533..1cd6b3f2 100644 --- a/wifi/kcmwifi/wificonfig.cpp +++ b/wifi/kcmwifi/wificonfig.cpp @@ -257,8 +257,8 @@ TQString WifiConfig::autoDetectInterface() if ( list.empty() ) { - KMessageBox::sorry( 0, - i18n( "Unable to autodetect wireless interface." ) ); +// KMessageBox::sorry( 0, +// i18n( "Unable to autodetect wireless interface." ) ); return m_detectedInterface; } @@ -270,15 +270,14 @@ TQString WifiConfig::autoDetectInterface() test << *it; connect( &test, TQT_SIGNAL( readReady( KProcIO * ) ), this, TQT_SLOT( slotTestInterface( KProcIO * ) ) ); - printf("[kcontrol wificonfig] Checking interface for wireless extensions..."); test.start ( KProcess::Block ); } } if ( m_detectedInterface.isEmpty() ) { - KMessageBox::sorry( 0, - i18n( "Unable to autodetect wireless interface." ) ); +// KMessageBox::sorry( 0, +// i18n( "Unable to autodetect wireless interface." ) ); return m_detectedInterface; } @@ -293,6 +292,7 @@ void WifiConfig::slotTestInterface( KProcIO *proc ) { output.truncate( output.find ( " " ) ); m_detectedInterface = output.stripWhiteSpace(); + printf("[kcontrol wificonfig] Wireless extensions not available on specified interface\n\r"); } }