themes: don't show inactive item to visualize migrated theme

Origin commit data
------------------
Branch: ni/coolstream
Commit: b4849c98cc
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-04-12 (Thu, 12 Apr 2018)

Origin message was:
------------------
- themes: don't show inactive item to visualize migrated theme

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-04-12 21:52:57 +02:00
parent ea4fb19fb8
commit 5a3c99bb2f

View File

@@ -123,12 +123,14 @@ void CThemes::initThemesMenu(CMenuWidget &themes)
std::string userThemeFile = "";
CMenuForwarder* oj;
#if 0
// only to visualize if we have a migrated theme
if (g_settings.theme_name.empty() || g_settings.theme_name == MIGRATE_THEME_NAME)
{
themes.addItem(new CMenuSeparator(CMenuSeparator::LINE));
themes.addItem(new CMenuForwarder(MIGRATE_THEME_NAME, false, "", this));
}
#endif
for(int p = 0;p < 2;p++)
{