From 3fdff68dff81340e4b37becc961e89b0ab556334 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 7 Apr 2013 17:26:53 +0200 Subject: [PATCH] test_menu: fix path to demo picture Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/88fde35e52c710e34957b742f19e805cdecd2e6e Author: Stefan Seyfried Date: 2013-04-07 (Sun, 07 Apr 2013) --- src/gui/test_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/test_menu.cpp b/src/gui/test_menu.cpp index b714c5f22..86faad1f8 100644 --- a/src/gui/test_menu.cpp +++ b/src/gui/test_menu.cpp @@ -350,7 +350,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();