summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/scanlistitem.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/scanlistitem.cpp6
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
@@ -58,5 +58,7 @@ void MScanListItem::decorateItem( QString type, QString essid, QString macaddr,
// set channel and signal text
+
+ if ( signal != -1 )
setText( col_sig, QString::number( signal ) );
+ if ( channel != -1 )
setText( col_channel, QString::number( channel ) );
- //setText
@@ -64,2 +66,4 @@ void MScanListItem::decorateItem( QString type, QString essid, QString macaddr,
+ this->type = type;
+
}