From faa21b3c02a10df2fe102860a6473e70a7925f5a Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 2 Jan 2024 20:32:42 +0100 Subject: [PATCH] channellist: minor formatting changes Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/e8755b1699ff94081050f2e5ae983e4a2c0a0dce Author: vanhofen Date: 2024-01-02 (Tue, 02 Jan 2024) Origin message was: ------------------ - channellist: minor formatting changes --- src/gui/channellist.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 0f41a220f..2c3b660df 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -1123,16 +1123,21 @@ bool CChannelList::checkLockStatus(neutrino_msg_data_t data, bool pip) zapProtection = NULL; out: - if (startvideo) { - if(pip) { + if (startvideo) + { #if ENABLE_PIP - if (CNeutrinoApp::getInstance()->StartPip((*chanlist)[selected]->getChannelID())) { + if (pip) + { + if (CNeutrinoApp::getInstance()->StartPip((*chanlist)[selected]->getChannelID())) + { calcSize(); paintBody(); } + } + else #endif - } else g_RemoteControl->startvideo(); + return true; } return false;