From 45f12fbb6c28bf2b43bc6b0150f602fee02ae58c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 7 Jan 2014 09:42:54 +0100 Subject: [PATCH] CBuildInfo: remove destructor CBuildInfo using already inherited destructor from CComponentsForm. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/a6c2518017c0c8520940053da391bf2f6492d852 Author: Thilo Graf Date: 2014-01-07 (Tue, 07 Jan 2014) --- src/gui/buildinfo.cpp | 7 +------ src/gui/buildinfo.h | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) 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);