diff options
Diffstat (limited to 'client/mainwindow.h')
-rw-r--r-- | client/mainwindow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/mainwindow.h b/client/mainwindow.h index 98725a6..f1ce651 100644 --- a/client/mainwindow.h +++ b/client/mainwindow.h @@ -25,6 +25,7 @@ #include <QSslKey> #include <QGroupBox> #include <QPushButton> +#include <QBoxLayout> #include <api_protocol.h> @@ -39,12 +40,13 @@ namespace Ui { struct service_ui { QGroupBox *group; + QHBoxLayout *layout; std::list<QPushButton*> commands; ~service_ui() { - delete group; for(std::list<QPushButton*>::iterator i = commands.begin(), end = commands.end(); i != end; ++i) delete *i; + delete group; } @@ -69,7 +71,6 @@ private slots: private: - void enable_buttons(bool); void get_socket(); void _connect(); Ui::MainWindow *ui; |