author | mickeyl <mickeyl> | 2002-12-08 23:21:09 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-08 23:21:09 (UTC) |
commit | 4e2e28e4ebc3c67be16f51de33e33c5e33f95e7f (patch) (side-by-side diff) | |
tree | 5e8374412dedfd04a1ca72b0a22a62076a3c67fe /noncore/net/wellenreiter/gui/wellenreiter.cpp | |
parent | 5f4bc1a6f31d713c97b8382b6e2acd12a7f9bfd6 (diff) | |
download | opie-4e2e28e4ebc3c67be16f51de33e33c5e33f95e7f.zip opie-4e2e28e4ebc3c67be16f51de33e33c5e33f95e7f.tar.gz opie-4e2e28e4ebc3c67be16f51de33e33c5e33f95e7f.tar.bz2 |
- switched from inlined logo to png
- first work on config tab
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index e983b4d..d1ace46 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp @@ -161,13 +161,17 @@ void Wellenreiter::addNewItem( QString type, QString essid, QString macaddr, boo qDebug( "itemtext: %s", (const char*) item->text( 0 ) ); item = item->itemBelow(); } if ( item ) { qDebug( "found!" ); - new MScanListItem( item, type, essid, macaddr, wep, channel, signal ); + + if ( macaddr != item->text( 2 ) ) + new MScanListItem( item, type, essid, macaddr, wep, channel, signal ); + else + qDebug( "already there. ignoring..." ); } else { new MScanListItem( netview, type, essid, macaddr, wep, channel, signal ); } } |