From daa3ce227682ef864198d4537e99fcb4e0efda4d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 3 Aug 2012 23:04:27 +0200 Subject: [PATCH] Bedit: adapt to current CComponentsInfoBox changes --- src/gui/bedit/bouqueteditor_channels.cpp | 4 ++-- src/gui/bedit/bouqueteditor_chanselect.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/bedit/bouqueteditor_channels.cpp b/src/gui/bedit/bouqueteditor_channels.cpp index 23a6f9ca3..125704af5 100644 --- a/src/gui/bedit/bouqueteditor_channels.cpp +++ b/src/gui/bedit/bouqueteditor_channels.cpp @@ -229,9 +229,9 @@ void CBEChannelWidget::paintItem2DetailsLine (int pos, int /*ch_index*/) void CBEChannelWidget::clearItem2DetailsLine() { if (dline != NULL) - dline->hide(); + dline->paintBackground(); //kill details line if (ibox != NULL) - ibox->hide(); + ibox->paintBackground(); //kill info box } void CBEChannelWidget::hide() diff --git a/src/gui/bedit/bouqueteditor_chanselect.cpp b/src/gui/bedit/bouqueteditor_chanselect.cpp index 7abb90115..1ba48f5dd 100644 --- a/src/gui/bedit/bouqueteditor_chanselect.cpp +++ b/src/gui/bedit/bouqueteditor_chanselect.cpp @@ -80,11 +80,11 @@ CBEChannelSelectWidget::~CBEChannelSelectWidget() { // clear details line if (dline != NULL) - dline->hide(); + dline->paintBackground(); delete dline; // clear infobox if (ibox != NULL) - ibox->hide(); + ibox->paintBackground(); delete ibox; } @@ -237,7 +237,7 @@ void CBEChannelSelectWidget::paintItem2DetailsLine (int pos, int /*ch_index*/) // clear details line if (dline != NULL) - dline->hide(); + dline->paintBackground(); // clear infobox if (ibox != NULL)