mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsHeader/Icon: use inherited destructor
Inherited destructor contains identic code.
Origin commit data
------------------
Branch: ni/coolstream
Commit: da356d94da
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-10 (Sun, 10 Mar 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -42,6 +42,13 @@ CComponentsWindow::CComponentsWindow()
|
||||
initVarWindow();
|
||||
}
|
||||
|
||||
CComponentsWindow::~CComponentsWindow()
|
||||
{
|
||||
if (ccw_head)
|
||||
delete ccw_head;
|
||||
cleanCCForm();
|
||||
}
|
||||
|
||||
void CComponentsWindow::initVarWindow()
|
||||
{
|
||||
//CComponentsForm
|
||||
@@ -61,12 +68,6 @@ void CComponentsWindow::initVarWindow()
|
||||
setShadowOnOff(true);
|
||||
}
|
||||
|
||||
CComponentsWindow::~CComponentsWindow()
|
||||
{
|
||||
if (ccw_head)
|
||||
delete ccw_head;
|
||||
}
|
||||
|
||||
void CComponentsWindow::setWindowCaption(neutrino_locale_t locale_text)
|
||||
{
|
||||
ccw_caption = g_Locale->getText(locale_text);
|
||||
|
Reference in New Issue
Block a user