From 7b55de6ae77830ece68e1fd40230a8ec1bdc7d77 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 10 Dec 2017 21:57:06 +0100 Subject: [PATCH] CMenuWidget: ensure use of unified data type const char* This should avoid possible compiler errors for this overloaded method. --- src/gui/widget/menue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 343efb2a5..be9fff00f 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -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