personalize: use new marker icons

Origin commit data
------------------
Commit: 78c28915e7
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)

Origin message was:
------------------
- personalize: use new marker icons
This commit is contained in:
vanhofen
2018-01-04 16:07:47 +01:00
parent a8fec21c85
commit 8ac794eb7f

View File

@@ -933,7 +933,7 @@ void CPersonalizeGui::addPersonalizedItems()
if (v_item[i].personalize_mode == &g_settings.personalize[SNeutrinoSettings::P_MAIN_PINSTATUS] || v_item[i].personalize_mode == &g_settings.personalize[SNeutrinoSettings::P_MSET_SETTINGS_MANAGER]) if (v_item[i].personalize_mode == &g_settings.personalize[SNeutrinoSettings::P_MAIN_PINSTATUS] || v_item[i].personalize_mode == &g_settings.personalize[SNeutrinoSettings::P_MSET_SETTINGS_MANAGER])
{ {
use_pin = true; use_pin = true;
lock_icon = NEUTRINO_ICON_LOCK_PASSIVE; lock_icon = NEUTRINO_ICON_MARKER_LOCK_PASSIVE;
} }
} }
@@ -949,7 +949,7 @@ void CPersonalizeGui::addPersonalizedItems()
* required menu item is identified with relatetd locale that is used inside the settings menu * required menu item is identified with relatetd locale that is used inside the settings menu
*/ */
if (fw->getTextLocale() == LOCALE_PERSONALIZE_HEAD){ if (fw->getTextLocale() == LOCALE_PERSONALIZE_HEAD){
lock_icon = g_settings.personalize[SNeutrinoSettings::P_MAIN_PINSTATUS] ? NEUTRINO_ICON_LOCK : (in_pinmode ? NEUTRINO_ICON_LOCK_PASSIVE : NULL); lock_icon = g_settings.personalize[SNeutrinoSettings::P_MAIN_PINSTATUS] ? NEUTRINO_ICON_MARKER_LOCK : (in_pinmode ? NEUTRINO_ICON_MARKER_LOCK_PASSIVE : NULL);
v_item[i].menuItem->setInfoIconRight(lock_icon); v_item[i].menuItem->setInfoIconRight(lock_icon);
} }