From e5bbd02558ad3f44606cf4ae790b57c682ce5ce0 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Mon, 3 Oct 2005 19:30:42 +0000 Subject: undo changes --- lib/gui/epixmap.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/gui/epixmap.cpp') diff --git a/lib/gui/epixmap.cpp b/lib/gui/epixmap.cpp index ca3e4562..e4e4acc3 100644 --- a/lib/gui/epixmap.cpp +++ b/lib/gui/epixmap.cpp @@ -14,11 +14,7 @@ void ePixmap::setPixmap(gPixmap *pixmap) void ePixmap::setPixmapFromFile(const char *filename) { - // use direct filename for absolute path or relative to enigma2 DATADIR otherwise - if (filename[0] == '/') - loadPNG(m_pixmap, filename); - else - loadPNG(m_pixmap, strcat(DATADIR "/enigma2/", filename)); + loadPNG(m_pixmap, filename); // TODO getDesktop()->makeCompatiblePixmap(*m_pixmap); -- cgit v1.2.3