-rw-r--r-- | noncore/net/wellenreiter/gui/mainwindow.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/gui/mainwindow.cpp b/noncore/net/wellenreiter/gui/mainwindow.cpp index 3729ed0..95a8294 100644 --- a/noncore/net/wellenreiter/gui/mainwindow.cpp +++ b/noncore/net/wellenreiter/gui/mainwindow.cpp | |||
@@ -168,28 +168,25 @@ WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * n | |||
168 | #endif | 168 | #endif |
169 | 169 | ||
170 | connect( mw, SIGNAL( startedSniffing() ), this, SLOT( changedSniffingState() ) ); | 170 | connect( mw, SIGNAL( startedSniffing() ), this, SLOT( changedSniffingState() ) ); |
171 | connect( mw, SIGNAL( stoppedSniffing() ), this, SLOT( changedSniffingState() ) ); | 171 | connect( mw, SIGNAL( stoppedSniffing() ), this, SLOT( changedSniffingState() ) ); |
172 | }; | 172 | }; |
173 | 173 | ||
174 | 174 | ||
175 | 175 | ||
176 | void WellenreiterMainWindow::showConfigure() | 176 | void WellenreiterMainWindow::showConfigure() |
177 | { | 177 | { |
178 | qDebug( "show configure..." ); | 178 | qDebug( "show configure..." ); |
179 | cw->setCaption( tr( "Configure" ) ); | 179 | cw->setCaption( tr( "Configure" ) ); |
180 | #ifdef QWS | 180 | int result = QPEApplication::execDialog( cw ); |
181 | cw->showMaximized(); | ||
182 | #endif | ||
183 | int result = cw->exec(); | ||
184 | 181 | ||
185 | if ( result ) updateToolButtonState(); | 182 | if ( result ) updateToolButtonState(); |
186 | } | 183 | } |
187 | 184 | ||
188 | 185 | ||
189 | void WellenreiterMainWindow::updateToolButtonState() | 186 | void WellenreiterMainWindow::updateToolButtonState() |
190 | { | 187 | { |
191 | const QString& interface = cw->interfaceName->currentText(); | 188 | const QString& interface = cw->interfaceName->currentText(); |
192 | const int cardtype = cw->driverType(); | 189 | const int cardtype = cw->driverType(); |
193 | 190 | ||
194 | if ( ( interface != "<select>" ) && ( cardtype != 0 ) ) | 191 | if ( ( interface != "<select>" ) && ( cardtype != 0 ) ) |
195 | { | 192 | { |