-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 1ef24d2..a8cadd8 100644 --- a/noncore/net/wellenreiter/gui/scanlist.cpp +++ b/noncore/net/wellenreiter/gui/scanlist.cpp | |||
@@ -165,9 +165,9 @@ void MScanListView::addNewItem( QString type, QString essid, QString macaddr, bo | |||
165 | } | 165 | } |
166 | else | 166 | else |
167 | { | 167 | { |
168 | s.sprintf( "(i) new network: '%s'", (const char*) essid ); | 168 | s.sprintf( "(i) new network: '%s'", (const char*) essid ); |
169 | network = new MScanListItem( this, "networks", essid, QString::null, 0, 0, 0 ); | 169 | network = new MScanListItem( this, "network", essid, QString::null, 0, 0, 0 ); |
170 | } | 170 | } |
171 | 171 | ||
172 | 172 | ||
173 | // insert new station as child from network | 173 | // insert new station as child from network |
@@ -249,9 +249,9 @@ MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QS | |||
249 | _type( type ), _essid( essid ), _macaddr( macaddr ), _wep( wep ), | 249 | _type( type ), _essid( essid ), _macaddr( macaddr ), _wep( wep ), |
250 | _channel( channel ), _signal( signal ), _beacons( 1 ) | 250 | _channel( channel ), _signal( signal ), _beacons( 1 ) |
251 | { | 251 | { |
252 | qDebug( "creating scanlist item" ); | 252 | qDebug( "creating scanlist item" ); |
253 | if ( WellenreiterConfigWindow::instance() && type == "networks" ) | 253 | if ( WellenreiterConfigWindow::instance() && type == "network" ) |
254 | playSound( WellenreiterConfigWindow::instance()->soundOnNetwork() ); | 254 | playSound( WellenreiterConfigWindow::instance()->soundOnNetwork() ); |
255 | decorateItem( type, essid, macaddr, wep, channel, signal ); | 255 | decorateItem( type, essid, macaddr, wep, channel, signal ); |
256 | } | 256 | } |
257 | 257 | ||