mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
test_menu: fix path to demo picture
Origin commit data
------------------
Commit: 88fde35e52
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-07 (Sun, 07 Apr 2013)
This commit is contained in:
committed by
Jacek Jendrzej
parent
02331f5f31
commit
3fdff68dff
@@ -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();
|
||||||
|
Reference in New Issue
Block a user