From b3ee7109dd5c9cd21b219a758df45e0866936ffb Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 5 Oct 2014 20:16:42 +0200 Subject: add global.h containing PREFIX and make use of it in all sub-modules, add PREFIX and LIBPREFIX to the qmake .pro files (allows to change prefix and libdir using or whatever) update debian packaging scripts accordingly --- lumina-desktop/SystemWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lumina-desktop/SystemWindow.cpp') diff --git a/lumina-desktop/SystemWindow.cpp b/lumina-desktop/SystemWindow.cpp index 10d44524..55f1e4a4 100644 --- a/lumina-desktop/SystemWindow.cpp +++ b/lumina-desktop/SystemWindow.cpp @@ -2,6 +2,7 @@ #include "ui_SystemWindow.h" #include "LSession.h" +#include "../global.h" #include //for usleep() usage SystemWindow::SystemWindow() : QDialog(), ui(new Ui::SystemWindow){ @@ -32,12 +33,12 @@ SystemWindow::SystemWindow() : QDialog(), ui(new Ui::SystemWindow){ } SystemWindow::~SystemWindow(){ - + } void SystemWindow::closeAllWindows(){ if( LSession::sessionSettings()->value("PlayLogoutAudio",true).toBool() ){ - LSession::playAudioFile("/usr/local/share/Lumina-DE/Logout.ogg"); + LSession::playAudioFile(PREFIX + "/share/Lumina-DE/Logout.ogg"); } QList WL = LX11::WindowList(); for(int i=0; i