Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlistitem.cpp | 6 |
1 files changed, 5 insertions, 1 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 | |||
60 | if ( signal != -1 ) | ||
59 | setText( col_sig, QString::number( signal ) ); | 61 | setText( col_sig, QString::number( signal ) ); |
62 | if ( channel != -1 ) | ||
60 | setText( col_channel, QString::number( channel ) ); | 63 | setText( col_channel, QString::number( channel ) ); |
61 | //setText | ||
62 | 64 | ||
63 | listView()->triggerUpdate(); | 65 | listView()->triggerUpdate(); |
64 | 66 | ||
67 | this->type = type; | ||
68 | |||
65 | } | 69 | } |