author | mickeyl <mickeyl> | 2002-12-09 15:31:42 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-09 15:31:42 (UTC) |
commit | b0a600bf9dd32b908d79c2cf1f12b8088dc2590d (patch) (side-by-side diff) | |
tree | a0555985d4cf10e135cb5e3bcf318ef359cf7936 /noncore/net/wellenreiter/gui/scanlistitem.cpp | |
parent | 159a3334ecd168f422afe81853998373457fefa0 (diff) | |
download | opie-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.cpp | 10 |
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 @@ -47,19 +47,23 @@ void MScanListItem::decorateItem( QString type, QString essid, QString macaddr, qDebug( "decorating scanlist item" ); // set icon for managed or adhoc mode QString name; name.sprintf( "wellenreiter/%s", (const char*) type ); setPixmap( col_type, Resource::loadPixmap( name ) ); // set icon for wep (wireless encryption protocol) if ( wep ) setPixmap( col_wep, Resource::loadPixmap( "wellenreiter/cracked" ) ); // rename the pixmap! // set channel and signal text - setText( col_sig, QString::number( signal ) ); - setText( col_channel, QString::number( channel ) ); - //setText + + if ( signal != -1 ) + setText( col_sig, QString::number( signal ) ); + if ( channel != -1 ) + setText( col_channel, QString::number( channel ) ); listView()->triggerUpdate(); + + this->type = type; } |