aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaXDG.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libLumina/LuminaXDG.cpp')
-rw-r--r--libLumina/LuminaXDG.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libLumina/LuminaXDG.cpp b/libLumina/LuminaXDG.cpp
index ca20eef5..cb4fab3c 100644
--- a/libLumina/LuminaXDG.cpp
+++ b/libLumina/LuminaXDG.cpp
@@ -83,8 +83,9 @@ bool LFileInfo::isDesktopFile(){
}
// -- Allow access to the XDG desktop data structure
-const XDGDesktop* LFileInfo::XDG(){
- return &desk;
+XDGDesktop* LFileInfo::XDG() const{
+
+ return (XDGDesktop * const)(&desk);
}
// -- Check if this is a readable image file (for thumbnail support)
bgstack15