From 756be2969e76a3fa86723f02196ead0018431c20 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Tue, 2 Apr 2019 22:10:15 +0200 Subject: [PATCH] cc_item_picture.cpp fix init var Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d1330f7792e489fce4a6002ff55c7831cc8d4528 Author: Jacek Jendrzej Date: 2019-04-02 (Tue, 02 Apr 2019) --- src/gui/components/cc_item_picture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/components/cc_item_picture.cpp b/src/gui/components/cc_item_picture.cpp index b75862e76..2084b590e 100644 --- a/src/gui/components/cc_item_picture.cpp +++ b/src/gui/components/cc_item_picture.cpp @@ -412,9 +412,10 @@ void CComponentsChannelLogo::init(const uint64_t& channelId, const std::string& channel_name = ""; channel_id = 0; alt_pic_name = ""; + enable_event_logo = false; + has_logo = false; setChannel(channelId, channelName); do_scale = allow_scale; - enable_event_logo = false; } void CComponentsChannelLogo::setAltLogo(const std::string& picture_name) {