summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/scanlistitem.cpp
authormickeyl <mickeyl>2002-12-09 15:31:42 (UTC)
committer mickeyl <mickeyl>2002-12-09 15:31:42 (UTC)
commitb0a600bf9dd32b908d79c2cf1f12b8088dc2590d (patch) (unidiff)
treea0555985d4cf10e135cb5e3bcf318ef359cf7936 /noncore/net/wellenreiter/gui/scanlistitem.cpp
parent159a3334ecd168f422afe81853998373457fefa0 (diff)
downloadopie-b0a600bf9dd32b908d79c2cf1f12b8088dc2590d.zip
opie-b0a600bf9dd32b908d79c2cf1f12b8088dc2590d.tar.gz
opie-b0a600bf9dd32b908d79c2cf1f12b8088dc2590d.tar.bz2
APs and adhoc stations are now grouped and displayed as belonging to a common
net.
Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/scanlistitem.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.cpp b/noncore/net/wellenreiter/gui/scanlistitem.cpp
index 9532a01..189a12d 100644
--- a/noncore/net/wellenreiter/gui/scanlistitem.cpp
+++ b/noncore/net/wellenreiter/gui/scanlistitem.cpp
@@ -53,13 +53,17 @@ void MScanListItem::decorateItem( QString type, QString essid, QString macaddr,
53 53
54 // set icon for wep (wireless encryption protocol) 54 // set icon for wep (wireless encryption protocol)
55 if ( wep ) 55 if ( wep )
56 setPixmap( col_wep, Resource::loadPixmap( "wellenreiter/cracked" ) ); // rename the pixmap! 56 setPixmap( col_wep, Resource::loadPixmap( "wellenreiter/cracked" ) ); // rename the pixmap!
57 57
58 // set channel and signal text 58 // set channel and signal text
59 setText( col_sig, QString::number( signal ) ); 59
60 setText( col_channel, QString::number( channel ) ); 60 if ( signal != -1 )
61 //setText 61 setText( col_sig, QString::number( signal ) );
62 if ( channel != -1 )
63 setText( col_channel, QString::number( channel ) );
62 64
63 listView()->triggerUpdate(); 65 listView()->triggerUpdate();
66
67 this->type = type;
64 68
65} 69}