aboutsummaryrefslogtreecommitdiff
path: root/lib/components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/components')
-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;