X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/243c568781ee71d742b4e1098cf327592220b29d..8f01a41693ff4b01a224e9ea2f9a26538ec20414:/lib/components/listboxepg.cpp?ds=sidebyside diff --git a/lib/components/listboxepg.cpp b/lib/components/listboxepg.cpp index d088006b..0d5c5412 100644 --- a/lib/components/listboxepg.cpp +++ b/lib/components/listboxepg.cpp @@ -4,8 +4,8 @@ void eListboxEPGContent::setRoot(const eServiceReference &root) { - eEPGCache *epg=NULL; - if ( !eEPGCache::getInstance(epg) ) + eEPGCache *epg=eEPGCache::getInstance(); + if ( epg ) { m_list.clear(); m_root = root;