From b612882c2eadb5c6b81c00c974eca87a1f43c1b0 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Sat, 23 Nov 2013 13:40:27 +0100 Subject: [PATCH] CInfoViewerBB: No blank space for radiotext icon when radiotext is off Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/9b07942f3fc47df42dcea05bb52960958f320b00 Author: Michael Liebmann Date: 2013-11-23 (Sat, 23 Nov 2013) --- src/gui/infoviewer_bb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index 362a22af9..e1dc4a586 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -173,7 +173,7 @@ void CInfoViewerBB::getBBIconInfo() iconView = checkBBIcon(NEUTRINO_ICON_VTXT, &w, &h); break; case CInfoViewerBB::ICON_RT: - if (neutrino->getMode() == NeutrinoMessages::mode_radio) + if ((neutrino->getMode() == NeutrinoMessages::mode_radio) && g_settings.radiotext_enable) iconView = checkBBIcon(NEUTRINO_ICON_RADIOTEXTGET, &w, &h); break; case CInfoViewerBB::ICON_DD: