summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp8
-rw-r--r--noncore/net/wellenreiter/opie-wellenreiter.control6
2 files changed, 7 insertions, 7 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp
index 3453d18..5808e9c 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp
@@ -176,12 +176,12 @@ void Wellenreiter::addNewItem( QString type, QString essid, QString macaddr, boo
176 176
177 QString s; 177 QString s;
178 MScanListItem* network; 178 MScanListItem* network;
179 MScanListItem* item = (MScanListItem*) netview->firstChild(); 179 MScanListItem* item = static_cast<MScanListItem*> ( netview->firstChild() );
180 180
181 while ( item && ( item->text( 0 ) != essid ) ) 181 while ( item && ( item->text( 0 ) != essid ) )
182 { 182 {
183 qDebug( "itemtext: %s", (const char*) item->text( 0 ) ); 183 qDebug( "itemtext: %s", (const char*) item->text( 0 ) );
184 item = item->itemBelow(); 184 item = static_cast<MScanListItem*> ( item->itemBelow() );
185 } 185 }
186 if ( item ) 186 if ( item )
187 { 187 {
@@ -189,13 +189,13 @@ void Wellenreiter::addNewItem( QString type, QString essid, QString macaddr, boo
189 189
190 network = item; 190 network = item;
191 191
192 item = item->firstChild(); 192 item = static_cast<MScanListItem*> ( item->firstChild() );
193 assert( item ); // this shouldn't fail 193 assert( item ); // this shouldn't fail
194 194
195 while ( item && ( item->text( 2 ) != macaddr ) ) 195 while ( item && ( item->text( 2 ) != macaddr ) )
196 { 196 {
197 qDebug( "subitemtext: %s", (const char*) item->text( 2 ) ); 197 qDebug( "subitemtext: %s", (const char*) item->text( 2 ) );
198 item = item->itemBelow(); 198 item = static_cast<MScanListItem*> ( item->itemBelow() );
199 } 199 }
200 200
201 if ( item ) 201 if ( item )
diff --git a/noncore/net/wellenreiter/opie-wellenreiter.control b/noncore/net/wellenreiter/opie-wellenreiter.control
index 83bfd0e..f34cc08 100644
--- a/noncore/net/wellenreiter/opie-wellenreiter.control
+++ b/noncore/net/wellenreiter/opie-wellenreiter.control
@@ -4,6 +4,6 @@ Section: opie/applications
4Maintainer: Michael Lauer <mickeyl@handhelds.org> 4Maintainer: Michael Lauer <mickeyl@handhelds.org>
5Architecture: arm 5Architecture: arm
6Version: $QPE_VERSION-$SUB_VERSION 6Version: $QPE_VERSION-$SUB_VERSION
7Depends: opie-base ($QPE_VERSION) 7Depends: opie-base ($QPE_VERSION), libpcap
8Description: A wavelan network monitor 8Description: A WaveLAN Network Monitor
9 A wavelan network monitor/sniffer for the Opie environment. 9 A WaveLAN Network Monitor/Sniffer for the Opie Environment.