aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/main.cpp
diff options
context:
space:
mode:
authorChristopher Roy Bratusek <nano@jpberlin.de>2014-10-05 20:16:42 +0200
committerChristopher Roy Bratusek <nano@jpberlin.de>2014-10-05 20:16:42 +0200
commitb3ee7109dd5c9cd21b219a758df45e0866936ffb (patch)
treef40cf1c32802d9bb2253352cf4eea2d8418ec79d /lumina-desktop/main.cpp
parentAdd the template for the new LuminaThemes library class (not integrated into ... (diff)
downloadlumina-b3ee7109dd5c9cd21b219a758df45e0866936ffb.tar.gz
lumina-b3ee7109dd5c9cd21b219a758df45e0866936ffb.tar.bz2
lumina-b3ee7109dd5c9cd21b219a758df45e0866936ffb.zip
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 <qmake PREFIX=/usr LIBDIR=/usr/lib/x86_64-linux-gnu/> or whatever) update debian packaging scripts accordingly
Diffstat (limited to 'lumina-desktop/main.cpp')
-rw-r--r--lumina-desktop/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lumina-desktop/main.cpp b/lumina-desktop/main.cpp
index 1ae8cb51..3339e9ed 100644
--- a/lumina-desktop/main.cpp
+++ b/lumina-desktop/main.cpp
@@ -20,13 +20,10 @@
//#include "LDesktop.h"
#include "LSession.h"
#include "Globals.h"
+#include "../global.h"
#include <LuminaXDG.h> //from libLuminaUtils
-#ifndef PREFIX
-#define PREFIX QString("/usr/local")
-#endif
-
QFile logfile(QDir::homePath()+"/.lumina/logs/runtime.log");
void MessageOutput(QtMsgType type, const char *msg){
QString txt;
bgstack15