From 8350c401327c8f3766acf7ee9615442ea3211640 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 15 Feb 2013 23:12:16 +0200 Subject: shell exec service fixes some work with client --- client/mainwindow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/mainwindow.h') 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 #include #include +#include #include @@ -39,12 +40,13 @@ namespace Ui { struct service_ui { QGroupBox *group; + QHBoxLayout *layout; std::list commands; ~service_ui() { - delete group; for(std::list::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; -- cgit v1.2.3