Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlist.cpp b/noncore/net/wellenreiter/gui/scanlist.cpp index a006a3c..34c69f5 100644 --- a/noncore/net/wellenreiter/gui/scanlist.cpp +++ b/noncore/net/wellenreiter/gui/scanlist.cpp | |||
@@ -191,13 +191,13 @@ const int col_firstseen = 7; | |||
191 | const int col_lastseen = 8; | 191 | const int col_lastseen = 8; |
192 | 192 | ||
193 | MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr, | 193 | MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr, |
194 | bool wep, int channel, int signal ) | 194 | bool wep, int channel, int signal ) |
195 | :OListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ), | 195 | :OListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ), |
196 | _type( type ), _essid( essid ), _macaddr( macaddr ), _wep( wep ), | 196 | _type( type ), _essid( essid ), _macaddr( macaddr ), _wep( wep ), |
197 | _channel( channel ), _signal( signal ), _beacons( 0 ) | 197 | _channel( channel ), _signal( signal ), _beacons( 1 ) |
198 | { | 198 | { |
199 | qDebug( "creating scanlist item" ); | 199 | qDebug( "creating scanlist item" ); |
200 | if ( WellenreiterConfigWindow::instance() && type == "networks" ) | 200 | if ( WellenreiterConfigWindow::instance() && type == "networks" ) |
201 | playSound( WellenreiterConfigWindow::instance()->soundOnNetwork() ); | 201 | playSound( WellenreiterConfigWindow::instance()->soundOnNetwork() ); |
202 | decorateItem( type, essid, macaddr, wep, channel, signal ); | 202 | decorateItem( type, essid, macaddr, wep, channel, signal ); |
203 | } | 203 | } |
@@ -271,13 +271,13 @@ void MScanListItem::decorateItem( QString type, QString essid, QString macaddr, | |||
271 | 271 | ||
272 | this->type = type; | 272 | this->type = type; |
273 | _type = type; | 273 | _type = type; |
274 | _essid = essid; | 274 | _essid = essid; |
275 | _macaddr = macaddr; | 275 | _macaddr = macaddr; |
276 | _channel = channel; | 276 | _channel = channel; |
277 | _beacons = 0; | 277 | _beacons = 1; |
278 | _signal = 0; | 278 | _signal = 0; |
279 | } | 279 | } |
280 | 280 | ||
281 | 281 | ||
282 | void MScanListItem::setManufacturer( const QString& manufacturer ) | 282 | void MScanListItem::setManufacturer( const QString& manufacturer ) |
283 | { | 283 | { |