Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp index e287b47..59c2a61 100644 --- a/noncore/net/wellenreiter/gui/configwindow.cpp +++ b/noncore/net/wellenreiter/gui/configwindow.cpp | |||
@@ -57,14 +57,14 @@ WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char | |||
57 | QString line; | 57 | QString line; |
58 | QTextStream modules( &m ); | 58 | QTextStream modules( &m ); |
59 | while( !modules.atEnd() && !devicetype ) | 59 | while( !modules.atEnd() && !devicetype ) |
60 | { | 60 | { |
61 | modules >> line; | 61 | modules >> line; |
62 | if ( line.contains( "cisco" ) ) devicetype = 1; | 62 | if ( line.contains( "cisco" ) ) devicetype = 1; |
63 | else if ( line.contains( "wlan" ) ) devicetype = 2; | ||
64 | else if ( line.contains( "hostap" ) ) devicetype = 3; | 63 | else if ( line.contains( "hostap" ) ) devicetype = 3; |
64 | else if ( line.contains( "prism" ) ) devicetype = 2; | ||
65 | else if ( line.contains( "orinoco" ) ) devicetype = 4; | 65 | else if ( line.contains( "orinoco" ) ) devicetype = 4; |
66 | } | 66 | } |
67 | if ( devicetype ) | 67 | if ( devicetype ) |
68 | { | 68 | { |
69 | deviceType->setCurrentItem( devicetype ); | 69 | deviceType->setCurrentItem( devicetype ); |
70 | qDebug( "Wellenreiter: guessed device type to be %d", devicetype ); | 70 | qDebug( "Wellenreiter: guessed device type to be %d", devicetype ); |