diff --git a/src/gui/components/cc_frm_button.cpp b/src/gui/components/cc_frm_button.cpp index 163c4be5c..ee7b4a23d 100644 --- a/src/gui/components/cc_frm_button.cpp +++ b/src/gui/components/cc_frm_button.cpp @@ -144,7 +144,7 @@ void CComponentsButton::initIcon() //initialize icon object string::size_type pos = cc_btn_icon.find("/", 0); if (pos == string::npos) - cc_btn_icon = frameBuffer->getIconBasePath() + "/" + cc_btn_icon + ".png"; + cc_btn_icon = frameBuffer->getIconPath(cc_btn_icon); if (cc_btn_icon_obj == NULL){ cc_btn_icon_obj = new CComponentsPictureScalable(fr_thickness, 0, cc_btn_icon, this);