From 570d2a57fc531777dd350b6b74d1885e2d3c42bc Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 23 Sep 2010 05:58:07 +0000 Subject: Another attempt to fix broken wifi kcontrol module... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1178443 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- wifi/kcmwifi/wificonfig.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'wifi') 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"); } } -- cgit v1.2.1