aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-10-11 08:33:33 -0400
committerKen Moore <ken@ixsystems.com>2016-10-11 08:33:33 -0400
commit566a86a71d4f76fcd4d1db604aa4e38712bdea7a (patch)
tree5eb3cfff1735907195b2a3661e70723a40a1bcd6 /src-qt5/core/libLumina
parentMove a couple "delete" calls to "deleteLater()" within the desktop. (diff)
downloadlumina-566a86a71d4f76fcd4d1db604aa4e38712bdea7a.tar.gz
lumina-566a86a71d4f76fcd4d1db604aa4e38712bdea7a.tar.bz2
lumina-566a86a71d4f76fcd4d1db604aa4e38712bdea7a.zip
Fix a bug in LFileInfo, and update lumina-fileinfo to show the size of the image (if an image file is being viewed)
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r--src-qt5/core/libLumina/LuminaXDG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaXDG.cpp b/src-qt5/core/libLumina/LuminaXDG.cpp
index dbb70e43..8ae77ea6 100644
--- a/src-qt5/core/libLumina/LuminaXDG.cpp
+++ b/src-qt5/core/libLumina/LuminaXDG.cpp
@@ -568,6 +568,7 @@ QString LFileInfo::iconfile(){
// -- Check if this is an XDG desktop file
bool LFileInfo::isDesktopFile(){
+ if(desk==0){ return false; }
return (!desk->filePath.isEmpty());
}
bgstack15