undo changes
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 3 Oct 2005 19:30:42 +0000 (19:30 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 3 Oct 2005 19:30:42 +0000 (19:30 +0000)
lib/gui/epixmap.cpp

index ca3e456..e4e4acc 100644 (file)
@@ -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);