Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp index 6ea6f02..f86b109 100644 --- a/noncore/net/wellenreiter/gui/configwindow.cpp +++ b/noncore/net/wellenreiter/gui/configwindow.cpp | |||
@@ -16,7 +16,9 @@ | |||
16 | #include "configwindow.h" | 16 | #include "configwindow.h" |
17 | #include <qmap.h> | 17 | #include <qmap.h> |
18 | #include <qcombobox.h> | 18 | #include <qcombobox.h> |
19 | #include <qpushbutton.h> | ||
19 | #include <qspinbox.h> | 20 | #include <qspinbox.h> |
21 | #include <qlayout.h> | ||
20 | 22 | ||
21 | WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) | 23 | WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char * name, WFlags f ) |
22 | :WellenreiterConfigBase( parent, name, true, f ) | 24 | :WellenreiterConfigBase( parent, name, true, f ) |
@@ -26,6 +28,13 @@ WellenreiterConfigWindow::WellenreiterConfigWindow( QWidget * parent, const char | |||
26 | _devicetype[ "hostap" ] = 3; | 28 | _devicetype[ "hostap" ] = 3; |
27 | _devicetype[ "orinoco" ] = 4; | 29 | _devicetype[ "orinoco" ] = 4; |
28 | _devicetype[ "<manual>" ] = 5; | 30 | _devicetype[ "<manual>" ] = 5; |
31 | |||
32 | #ifdef Q_WS_X11 // We're on X11: adding an Ok-Button for the Dialog here | ||
33 | QPushButton* okButton = new QPushButton( "ok", this ); | ||
34 | okButton->show(); | ||
35 | Layout5_2->addWidget( okButton ); //FIXME: rename this in configbase.ui | ||
36 | connect( okButton, SIGNAL( clicked() ), this, SLOT( accept() ) ); | ||
37 | #endif | ||
29 | }; | 38 | }; |
30 | 39 | ||
31 | int WellenreiterConfigWindow::daemonDeviceType() | 40 | int WellenreiterConfigWindow::daemonDeviceType() |