test_menu: fix path to demo picture

This commit is contained in:
Stefan Seyfried
2013-04-07 17:26:53 +02:00
committed by Jacek Jendrzej
parent cc1dea140a
commit 88fde35e52

View File

@@ -350,7 +350,7 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
} }
else if (actionKey == "picture"){ else if (actionKey == "picture"){
if (pic == NULL) if (pic == NULL)
pic = new CComponentsPicture (100, 100, 200, 200, "/share/tuxbox/neutrino/icons/mp3-5.jpg"); pic = new CComponentsPicture (100, 100, 200, 200, DATADIR "/neutrino/icons/mp3-5.jpg");
if (!pic->isPainted() && !pic->isPicPainted()) if (!pic->isPainted() && !pic->isPicPainted())
pic->paint(); pic->paint();