CMenuWidget: ensure use of unified data type const char*

This should avoid possible compiler errors for this overloaded method.
This commit is contained in:
2017-12-10 21:57:06 +01:00
parent 2a2d51d255
commit 7b55de6ae7

View File

@@ -1532,7 +1532,7 @@ void CMenuWidget::paintHint(int pos)
info_box->setColorAll(COL_FRAME_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);
info_box->setTextColor(COL_MENUCONTENTDARK_TEXT);
info_box->enableShadow();
info_box->setPicture(item->hintIcon ? item->hintIcon : "");
info_box->setPicture(item->hintIcon ? item->hintIcon : NULL);
info_box->enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_MENUFOOT_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);// COL_MENUFOOT_PLUS_0 is default footer color
//paint result