From fedae78e9b525bf1122170c1d009b8f79a45804c Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 15 Nov 2017 09:26:49 -0500 Subject: Finish cleaning up the new LFileInfo class/file. --- src-qt5/core/libLumina/LFileInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src-qt5/core/libLumina') 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(); } -- cgit