summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/lancard/lancardedit.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/lancard/lancardedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/lancard/lancardedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/lancard/lancardedit.cpp b/noncore/settings/networksettings2/lancard/lancardedit.cpp
index ffe9bf6..c00d7aa 100644
--- a/noncore/settings/networksettings2/lancard/lancardedit.cpp
+++ b/noncore/settings/networksettings2/lancard/lancardedit.cpp
@@ -105,27 +105,27 @@ void LanCardEdit::populateList( void ) {
// rescan system for new cards
void LanCardEdit::SLOT_ScanCards( void ) {
LanCardNetNode *NN = (LanCardNetNode *)NNI->nodeClass();
// add any NIC that is new and matches our interfacename
System & S = NSResources->system();
QRegExp R( "eth[0-9]" );
// populate with all lancards in system
for( QDictIterator<InterfaceInfo> It(S.interfaces());
It.current();
++It ) {
- fprintf( stderr, "TEST %s %s\n",
+ Log(( "TEST %s %s\n",
It.current()->Name.latin1(),
- It.current()->MACAddress.latin1() );
+ It.current()->MACAddress.latin1() ));
if( R.match( It.current()->Name ) >= 0 &&
( It.current()->CardType == ARPHRD_ETHER
#ifdef ARPHRD_IEEE1394
|| It.current()->CardType == ARPHRD_IEEE1394
#endif
)
) {
// old item ?
QCheckListItem * CLI =
(QCheckListItem *)LanCards_LV->firstChild();
while( CLI ) {
if( CLI->text(0) == It.current()->MACAddress ) {