From 5a3c99bb2f58abf31d8e29b5e644f328f5dceb99 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 12 Apr 2018 21:52:57 +0200 Subject: [PATCH] themes: don't show inactive item to visualize migrated theme Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b4849c98cca14e145084c8cae44817b864e1c018 Author: vanhofen 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 --- src/gui/themes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/themes.cpp b/src/gui/themes.cpp index 24c23e712..033abd840 100644 --- a/src/gui/themes.cpp +++ b/src/gui/themes.cpp @@ -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++) {