aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-DragonFly.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-03-16 13:12:27 -0400
committerKen Moore <moorekou@gmail.com>2016-03-16 13:12:27 -0400
commit489c21960fceb325d43e31d289b6518f48f39d26 (patch)
tree41bf6dcd2a81c2ca2ac0bced9ee9f98f2607d18d /libLumina/LuminaOS-DragonFly.cpp
parentFinish cleaning up the index.theme file for the new lumina icon theme. (diff)
downloadlumina-489c21960fceb325d43e31d289b6518f48f39d26.tar.gz
lumina-489c21960fceb325d43e31d289b6518f48f39d26.tar.bz2
lumina-489c21960fceb325d43e31d289b6518f48f39d26.zip
Remove one of the compile-time defines from the LuminaOS.h file, and place it into all the various LuminaOS-<OS>.cpp files instead. This allows the Lumina library to function properly when compiling an external application against an installed version of the lib.
Diffstat (limited to 'libLumina/LuminaOS-DragonFly.cpp')
-rw-r--r--libLumina/LuminaOS-DragonFly.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-DragonFly.cpp b/libLumina/LuminaOS-DragonFly.cpp
index fb2c2241..b98a36ee 100644
--- a/libLumina/LuminaOS-DragonFly.cpp
+++ b/libLumina/LuminaOS-DragonFly.cpp
@@ -66,6 +66,8 @@ static bool get_sysctlbyname_uint(const char *name, unsigned int *res) {
QString LOS::OSName(){ return "DragonFly BSD"; }
//OS-specific prefix(s)
+// NOTE: PREFIX, L_ETCDIR, L_SHAREDIR are defined in the OS-detect.pri project file and passed in
+QString LOS::LuminaShare(){ return (L_SHAREDIR+"/Lumina-DE/"); } //Install dir for Lumina share files
QString LOS::AppPrefix(){ return "/usr/local/"; } //Prefix for applications
QString LOS::SysPrefix(){ return "/usr/"; } //Prefix for system
bgstack15