Diffstat (limited to 'examples/networksettings/exampleiface.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | examples/networksettings/exampleiface.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/networksettings/exampleiface.cpp b/examples/networksettings/exampleiface.cpp index 5267a9c..8012bb2 100644 --- a/examples/networksettings/exampleiface.cpp +++ b/examples/networksettings/exampleiface.cpp | |||
@@ -1,5 +1,8 @@ | |||
1 | #include "exampleiface.h" | 1 | #include "exampleiface.h" |
2 | 2 | ||
3 | #include <opie2/odebug.h> | ||
4 | using namespace Opie::Core; | ||
5 | |||
3 | VirtualInterface::VirtualInterface( QObject* parent, | 6 | VirtualInterface::VirtualInterface( QObject* parent, |
4 | const char* name, | 7 | const char* name, |
5 | bool status ) | 8 | bool status ) |
@@ -17,7 +20,7 @@ bool VirtualInterface::refresh() { | |||
17 | * I take wlan0 in my case | 20 | * I take wlan0 in my case |
18 | */ | 21 | */ |
19 | QString old = getInterfaceName(); | 22 | QString old = getInterfaceName(); |
20 | qWarning("Interface name was " + old ); | 23 | odebug << "Interface name was " << old << oendl; |
21 | setInterfaceName( "wlan0" ); | 24 | setInterfaceName( "wlan0" ); |
22 | 25 | ||
23 | bool b =Interface::refresh(); | 26 | bool b =Interface::refresh(); |