src/hbutils/theme/hbthemeservices.cpp
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 7 923ff622b8b9
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
    78 */
    78 */
    79 const QString HbThemeServices::themePath()
    79 const QString HbThemeServices::themePath()
    80 {
    80 {
    81     QString path("");
    81     QString path("");
    82     HbThemeIndexInfo info = HbThemeUtils::getThemeIndexInfo(ActiveTheme);
    82     HbThemeIndexInfo info = HbThemeUtils::getThemeIndexInfo(ActiveTheme);
    83     if (info.themeIndexOffset > 0) {
    83     if (info.address) {
    84         path.append(info.path);
    84         path.append(info.path);
    85         path.append("/icons/");
    85         path.append("/icons/");
    86         path.append(info.name);
    86         path.append(info.name);
    87     } else {
    87     } else {
    88         path.append(HbThemeUtils::getThemeSetting(HbThemeUtils::DefaultThemeRootDirSetting));
    88         path.append(HbThemeUtils::getThemeSetting(HbThemeUtils::DefaultThemeRootDirSetting));