aboutsummaryrefslogtreecommitdiff
path: root/lib/components/listboxepg.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-11-13 08:57:45 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-11-13 08:57:45 +0000
commit3d5ee66a7e80c61e431e74e821242e144e88f008 (patch)
treeaf62b4ef7d8a8482011e65b3f314a64372d913bb /lib/components/listboxepg.cpp
parent8abe6bd8b06640ce47fc26f2786801106536c96e (diff)
downloadenigma2-3d5ee66a7e80c61e431e74e821242e144e88f008.tar.gz
enigma2-3d5ee66a7e80c61e431e74e821242e144e88f008.zip
dont open epglist when no epg is avail
Diffstat (limited to 'lib/components/listboxepg.cpp')
-rw-r--r--lib/components/listboxepg.cpp4
1 files changed, 2 insertions, 2 deletions
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;