mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsHeader/Icon: use inherited destructor
Inherited destructor contains identic code.
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