Revert "try to fix reloadchannels segfault with alternate_logos"

This reverts commit 7234761098.
This commit is contained in:
Jacek Jendrzej
2021-10-17 17:06:57 +02:00
parent 173664f80a
commit ce0f9a85f3

View File

@@ -624,7 +624,7 @@ bool CPictureViewer::GetLogoName(const uint64_t &ChannelID, const std::string &C
e2filename2[0] = '\0';
CZapitChannel * cc = NULL;
if (name.compare("alternate_logos") != 0 && ChannelID && CNeutrinoApp::getInstance()->channelList)
if (ChannelID && CNeutrinoApp::getInstance()->channelList)
cc = CNeutrinoApp::getInstance()->channelList->getChannel(ChannelID);
if (cc)