author | zecke <zecke> | 2004-05-18 20:57:35 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-05-18 20:57:35 (UTC) |
commit | 59c6451a16405f19b1d4bc97906bd5778b5b0cd3 (patch) (unidiff) | |
tree | 325a5e496a03304a99f224fa258b0cd2dabf2db9 | |
parent | eb5a5432d79083fdfefb7b9b0c0907abe8807a52 (diff) | |
download | opie-59c6451a16405f19b1d4bc97906bd5778b5b0cd3.zip opie-59c6451a16405f19b1d4bc97906bd5778b5b0cd3.tar.gz opie-59c6451a16405f19b1d4bc97906bd5778b5b0cd3.tar.bz2 |
Aye no (const char*)str where type(str) == QString please...
Now I can even scan non latin access points and don't need to reset stdout/stderr
-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 9e8aa72..9e907d8 100644 --- a/noncore/net/wellenreiter/gui/scanlist.cpp +++ b/noncore/net/wellenreiter/gui/scanlist.cpp | |||
@@ -116,34 +116,34 @@ void MScanListView::serializeFrom( QDataStream& s) | |||
116 | OListView::serializeFrom( s ); | 116 | OListView::serializeFrom( s ); |
117 | } | 117 | } |
118 | 118 | ||
119 | 119 | ||
120 | void MScanListView::addNewItem( const QString& type, | 120 | void MScanListView::addNewItem( const QString& type, |
121 | const QString& essid, | 121 | const QString& essid, |
122 | const OMacAddress& mac, | 122 | const OMacAddress& mac, |
123 | bool wep, | 123 | bool wep, |
124 | int channel, | 124 | int channel, |
125 | int signal, | 125 | int signal, |
126 | const GpsLocation& loc, | 126 | const GpsLocation& loc, |
127 | bool probe ) | 127 | bool probe ) |
128 | { | 128 | { |
129 | QString macaddr = mac.toString(true); | 129 | QString macaddr = mac.toString(true); |
130 | 130 | ||
131 | #ifdef DEBUG | 131 | #ifdef DEBUG |
132 | odebug << "MScanList::addNewItem( " << (const char*) type << " / " | 132 | odebug << "MScanList::addNewItem( " << type << " / " |
133 | << (const char*) essid << " / " << (const char*) macaddr | 133 | << essid << " / " << macaddr |
134 | << " [" << channel << "]" << oendl; | 134 | << " [" << channel << "]" << oendl; |
135 | #endif | 135 | #endif |
136 | 136 | ||
137 | // search, if we already have seen this net | 137 | // search, if we already have seen this net |
138 | 138 | ||
139 | QString s; | 139 | QString s; |
140 | MScanListItem* network; | 140 | MScanListItem* network; |
141 | MScanListItem* item = static_cast<MScanListItem*> ( firstChild() ); | 141 | MScanListItem* item = static_cast<MScanListItem*> ( firstChild() ); |
142 | 142 | ||
143 | while ( item && ( item->text( col_essid ) != essid ) ) | 143 | while ( item && ( item->text( col_essid ) != essid ) ) |
144 | { | 144 | { |
145 | #ifdef DEBUG | 145 | #ifdef DEBUG |
146 | odebug << "itemtext: " << item->text( col_essid ) << "" << oendl; | 146 | odebug << "itemtext: " << item->text( col_essid ) << "" << oendl; |
147 | #endif | 147 | #endif |
148 | item = static_cast<MScanListItem*> ( item->nextSibling() ); | 148 | item = static_cast<MScanListItem*> ( item->nextSibling() ); |
149 | } | 149 | } |