diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-02-15 23:12:16 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-02-15 23:12:16 +0200 |
commit | 8350c401327c8f3766acf7ee9615442ea3211640 (patch) | |
tree | e6cb85a477c2aa6f6190c24bd59a604adc330c25 /client/mainwindow.h | |
parent | 4a2dd17aa0601fffd42f2ec1c92c6a1b79f648d3 (diff) |
shell exec service fixes
some work with client
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; |