From b26f5e0504dc3ea35e76098f51c4d6ffa6ef1e6f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 3 Jan 2015 00:06:37 +0100 Subject: [PATCH] CBEChannelWidget: remove not required hide() Avoids unnecessary flicker effects, it's enough to repaint only text. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1a4d06175fe477d615d405e4cc6b4529cc053451 Author: Thilo Graf Date: 2015-01-03 (Sat, 03 Jan 2015) ------------------ This commit was generated by Migit --- src/gui/bedit/bouqueteditor_channels.cpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/gui/bedit/bouqueteditor_channels.cpp b/src/gui/bedit/bouqueteditor_channels.cpp index c7bbee759..8126de0c8 100644 --- a/src/gui/bedit/bouqueteditor_channels.cpp +++ b/src/gui/bedit/bouqueteditor_channels.cpp @@ -250,19 +250,13 @@ void CBEChannelWidget::initItem2DetailsLine (int pos, int /*ch_index*/) dline->setYPos(ypos1a); //infobox - if (ibox == NULL) + if (ibox == NULL){ ibox = new CComponentsInfoBox(); - - if (ibox->isPainted()) - ibox->hide(CC_SAVE_SCREEN_NO); - - ibox->setDimensionsAll(x, ypos2, width, info_height); - ibox->setFrameThickness(2); -#if 0 - ibox->paint(false,true); -#endif - ibox->setCorner(RADIUS_LARGE); - ibox->setShadowOnOff(CC_SHADOW_OFF); + ibox->setDimensionsAll(x, ypos2, width, info_height); + ibox->setFrameThickness(2); + ibox->setCorner(RADIUS_LARGE); + ibox->setShadowOnOff(CC_SHADOW_OFF); + } } }