mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- ccomponents: add missing slash to iconBasePath
This commit is contained in:
@@ -149,7 +149,7 @@ void CComponentsButton::initIcon()
|
|||||||
|
|
||||||
string::size_type pos = cc_btn_icon.find("/", 0);
|
string::size_type pos = cc_btn_icon.find("/", 0);
|
||||||
if (pos == string::npos)
|
if (pos == string::npos)
|
||||||
cc_btn_icon = frameBuffer->getIconBasePath() + cc_btn_icon + ".png";
|
cc_btn_icon = frameBuffer->getIconBasePath() + "/" + cc_btn_icon + ".png";
|
||||||
|
|
||||||
cc_btn_icon_obj = new CComponentsPicture(fr_thickness, y_icon, cc_btn_icon, this);
|
cc_btn_icon_obj = new CComponentsPicture(fr_thickness, y_icon, cc_btn_icon, this);
|
||||||
h_icon = cc_btn_icon_obj->getHeight();
|
h_icon = cc_btn_icon_obj->getHeight();
|
||||||
|
@@ -81,8 +81,8 @@ void CComponentsScrollBar::initVarSbForm(const int& count)
|
|||||||
sb_segments_obj = NULL;
|
sb_segments_obj = NULL;
|
||||||
|
|
||||||
string ftype = ".png";
|
string ftype = ".png";
|
||||||
sb_up_icon = frameBuffer->getIconBasePath() + NEUTRINO_ICON_BUTTON_TOP + ftype;
|
sb_up_icon = frameBuffer->getIconBasePath() + "/" + NEUTRINO_ICON_BUTTON_TOP + ftype;
|
||||||
sb_down_icon = frameBuffer->getIconBasePath() + NEUTRINO_ICON_BUTTON_DOWN + ftype;
|
sb_down_icon = frameBuffer->getIconBasePath() + "/" + NEUTRINO_ICON_BUTTON_DOWN + ftype;
|
||||||
|
|
||||||
sb_segments_count = count;
|
sb_segments_count = count;
|
||||||
sb_mark_id = 0;
|
sb_mark_id = 0;
|
||||||
|
Reference in New Issue
Block a user