aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-11-15 09:26:49 -0500
committerKen Moore <ken@ixsystems.com>2017-11-15 09:26:49 -0500
commitfedae78e9b525bf1122170c1d009b8f79a45804c (patch)
tree79c094e778583ec6b94bad5263b0327131972935 /src-qt5/core/libLumina
parentExpose the "directory" saving option within lumina-config for wallpapers now. (diff)
downloadlumina-fedae78e9b525bf1122170c1d009b8f79a45804c.tar.gz
lumina-fedae78e9b525bf1122170c1d009b8f79a45804c.tar.bz2
lumina-fedae78e9b525bf1122170c1d009b8f79a45804c.zip
Finish cleaning up the new LFileInfo class/file.
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r--src-qt5/core/libLumina/LFileInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LFileInfo.cpp b/src-qt5/core/libLumina/LFileInfo.cpp
index 5f368ad5..e54ce5cc 100644
--- a/src-qt5/core/libLumina/LFileInfo.cpp
+++ b/src-qt5/core/libLumina/LFileInfo.cpp
@@ -12,11 +12,13 @@ LFileInfo::LFileInfo() : QFileInfo(){
}
LFileInfo::LFileInfo(QString filepath) : QFileInfo(){ //overloaded contructor
+ desk = 0;
this->setFile(filepath);
loadExtraInfo();
}
LFileInfo::LFileInfo(QFileInfo info) : QFileInfo(){ //overloaded contructor
+ desk = 0;
this->swap(info); //use the given QFileInfo without re-loading it
loadExtraInfo();
}
bgstack15