Commit 14d98c39 authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

Adding destructors in the interface, changed the header for the script

changed the images for the philosophers example and adding a new 
developer in the site web (and a little bizutage ^^)
parent 2eeddf02
......@@ -67,6 +67,8 @@ Help::Help() : QWidget() {
}
Help::~Help(){
delete _contenu;
delete _image;
delete _text;
delete _cancel;
}
......@@ -77,6 +77,10 @@ Interface_console::Interface_console(int argc, char ** argv){
Interface_console::~Interface_console(){
delete app;
if(_trace != NULL){
delete _trace;
}
/* Qt desallocates _main_window and _render_opengl automatically */
//free(_run_env[0]);
......
......@@ -44,7 +44,8 @@ Interface_graphic::Interface_graphic(Interface_console* core, QWidget *parent):Q
Interface_graphic::~Interface_graphic(){
delete _stats_window;
delete _help_widget;
/* Qt desallocates this, _ui_info_window and _render_area automatically */
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment