ccomponents: add missing slash to iconBasePath

Origin commit data
------------------
Commit: e85f32848c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-07 (Thu, 07 May 2015)

Origin message was:
------------------
- ccomponents: add missing slash to iconBasePath
This commit is contained in:
vanhofen
2015-05-07 11:10:28 +02:00
parent 1e1c8e5c37
commit 64dae98d61
2 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ void CComponentsButton::initIcon()
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->getIconBasePath() + "/" + cc_btn_icon + ".png";
cc_btn_icon_obj = new CComponentsPicture(fr_thickness, y_icon, cc_btn_icon, this);
h_icon = cc_btn_icon_obj->getHeight();