Fix log messages

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1177996 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent e2e6ec17cf
commit 710f9d6272

@ -2,7 +2,7 @@
dictmanager.cpp - description dictmanager.cpp - description
------------------- -------------------
begin : Wed Jan 1 2003 begin : Wed Jan 1 2003
copyright : (C) 2003 by Jan Schäfer copyright : (C) 2003 by Jan Sch<EFBFBD>fer
email : janschaefer@users.sourceforge.net email : janschaefer@users.sourceforge.net
***************************************************************************/ ***************************************************************************/
@ -164,9 +164,11 @@ void DictManager::loadComboBoxes(SambaShare* share, bool globalValue, bool defau
comboIndex++; comboIndex++;
} }
if (comboIndex < comboBoxIt.current()->count()) {
comboBoxIt.current()->setCurrentItem(comboIndex); comboBoxIt.current()->setCurrentItem(comboIndex);
} }
} }
}
void DictManager::save(SambaShare* share, bool globalValue, bool defaultValue){ void DictManager::save(SambaShare* share, bool globalValue, bool defaultValue){

@ -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 );
} }
} }

Loading…
Cancel
Save