Revert "CMenuWidget: ensure repaint of all header content if it is already painted"

This reverts commit dff5ceee10.


Origin commit data
------------------
Branch: ni/coolstream
Commit: a2f9d4b462
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-02 (Thu, 02 Feb 2017)



------------------
This commit was generated by Migit
This commit is contained in:
2017-02-02 09:34:45 +01:00
parent 1a8a9fef62
commit 2a4bac952c

View File

@@ -1257,8 +1257,6 @@ void CMenuWidget::paint()
header->setCaptionColor(COL_MENUHEAD_TEXT); header->setCaptionColor(COL_MENUHEAD_TEXT);
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0); header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0);
header->enableGradientBgCleanUp(savescreen); header->enableGradientBgCleanUp(savescreen);
if (header->isPainted())
header->kill(header->getColorBody());
header->paint(CC_SAVE_SCREEN_NO); header->paint(CC_SAVE_SCREEN_NO);
// paint body shadow // paint body shadow