|
|
@ -235,8 +235,8 @@ TQString WifiConfig::autoDetectInterface()
|
|
|
|
|
|
|
|
|
|
|
|
if ( !procFile.open( IO_ReadOnly ) )
|
|
|
|
if ( !procFile.open( IO_ReadOnly ) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
KMessageBox::sorry( 0,
|
|
|
|
// KMessageBox::sorry( 0,
|
|
|
|
i18n( "Unable to autodetect wireless interface." ) );
|
|
|
|
// i18n( "Unable to autodetect wireless interface." ) );
|
|
|
|
return m_detectedInterface;
|
|
|
|
return m_detectedInterface;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -270,6 +270,7 @@ TQString WifiConfig::autoDetectInterface()
|
|
|
|
test << *it;
|
|
|
|
test << *it;
|
|
|
|
connect( &test, TQT_SIGNAL( readReady( KProcIO * ) ),
|
|
|
|
connect( &test, TQT_SIGNAL( readReady( KProcIO * ) ),
|
|
|
|
this, TQT_SLOT( slotTestInterface( KProcIO * ) ) );
|
|
|
|
this, TQT_SLOT( slotTestInterface( KProcIO * ) ) );
|
|
|
|
|
|
|
|
printf("[kcontrol wificonfig] Checking interface for wireless extensions...");
|
|
|
|
test.start ( KProcess::Block );
|
|
|
|
test.start ( KProcess::Block );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|