summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-23 05:58:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-23 05:58:07 +0000
commit570d2a57fc531777dd350b6b74d1885e2d3c42bc (patch)
tree48377010af04ad94cbee9300cce2c805903ce93e
parent710f9d6272b6964496da3d9d57a55da4e2c8e07d (diff)
downloadtdenetwork-570d2a57fc531777dd350b6b74d1885e2d3c42bc.tar.gz
tdenetwork-570d2a57fc531777dd350b6b74d1885e2d3c42bc.zip
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
-rw-r--r--wifi/kcmwifi/wificonfig.cpp10
1 files changed, 5 insertions, 5 deletions
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");
}
}