diff --git a/src/gui/buildinfo.cpp b/src/gui/buildinfo.cpp index 02523b66f..1b9fbff2d 100644 --- a/src/gui/buildinfo.cpp +++ b/src/gui/buildinfo.cpp @@ -55,11 +55,6 @@ void CBuildInfo::initVarBuildInfo() shadow = true; } -CBuildInfo::~CBuildInfo() -{ - cleanCCForm(); -} - int CBuildInfo::exec(CMenuTarget* parent, const string & /*actionKey*/) { @@ -172,7 +167,7 @@ void CBuildInfo::InitInfoItems() return; //ensure a clean body - ccw_body->clearCCItems(); + ccw_body->clear(); //define size and position int x_info = 10; diff --git a/src/gui/buildinfo.h b/src/gui/buildinfo.h index 4a091506c..14a341232 100644 --- a/src/gui/buildinfo.h +++ b/src/gui/buildinfo.h @@ -70,7 +70,7 @@ class CBuildInfo : public CMenuTarget, public CComponentsWindow }; CBuildInfo(); - ~CBuildInfo(); + ///assigns text Font type void setFontType(Font* font_text); build_info_t getInfo(const info_type_id_t& type_id);