test_menu: fix path to demo picture

This commit is contained in:
Stefan Seyfried
2013-04-07 17:26:53 +02:00
parent 0b9156b309
commit 6cabfb0a71

View File

@@ -354,7 +354,7 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
}
else if (actionKey == "picture"){
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())
pic->paint();