From 22c85c557c93e647a5b8530f0396fd97f540651e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 16 Oct 2018 23:57:28 +0200 Subject: [PATCH] moviebrowser: remove unnecessary check from hintbox in showYTMenu() function Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e9bfb9e829320e31a18e1e58f96e040f4b5253fa Author: vanhofen Date: 2018-10-16 (Tue, 16 Oct 2018) Origin message was: ------------------ - moviebrowser: remove unnecessary check from hintbox in showYTMenu() function ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/moviebrowser/mb.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index 6dd02896d..890284753 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -4380,9 +4380,7 @@ bool CMovieBrowser::showYTMenu(bool calledExternally) } if (reload) { - CHintBox loadBox(LOCALE_MOVIEPLAYER_YTPLAYBACK, (show_mode == MB_SHOW_YT) - ? g_Locale->getText(LOCALE_MOVIEBROWSER_SCAN_FOR_VIDEOS) - : g_Locale->getText(LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES), 450); + CHintBox loadBox(LOCALE_MOVIEPLAYER_YTPLAYBACK, LOCALE_MOVIEBROWSER_SCAN_FOR_VIDEOS, 450); loadBox.paint(); ytparser.Cleanup(); loadYTitles(newmode, m_settings.ytsearch, m_settings.ytvid);