diff options
author | Ken Moore <ken@pcbsd.org> | 2016-09-28 08:30:08 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-09-28 08:30:08 -0400 |
commit | 57acfa1f6e5fe255c60a863e3056b2468d5bfb42 (patch) | |
tree | 28042cadf1e1f4883a50874a3e7e7d0737e579c1 /src-qt5/core/libLumina | |
parent | More work on the new backend: still disabled for now. (diff) | |
download | lumina-57acfa1f6e5fe255c60a863e3056b2468d5bfb42.tar.gz lumina-57acfa1f6e5fe255c60a863e3056b2468d5bfb42.tar.bz2 lumina-57acfa1f6e5fe255c60a863e3056b2468d5bfb42.zip |
Add an additional default-valued constructor for LFileInfo.
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r-- | src-qt5/core/libLumina/LuminaXDG.cpp | 3 | ||||
-rw-r--r-- | src-qt5/core/libLumina/LuminaXDG.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaXDG.cpp b/src-qt5/core/libLumina/LuminaXDG.cpp index 790b386e..dbb70e43 100644 --- a/src-qt5/core/libLumina/LuminaXDG.cpp +++ b/src-qt5/core/libLumina/LuminaXDG.cpp @@ -531,6 +531,9 @@ void LFileInfo::loadExtraInfo(){ mime = LXDG::findAppMimeForFile(this->fileName()); } } +LFileInfo::LFileInfo(){ + desk = 0; +} LFileInfo::LFileInfo(QString filepath){ //overloaded contructor this->setFile(filepath); loadExtraInfo(); diff --git a/src-qt5/core/libLumina/LuminaXDG.h b/src-qt5/core/libLumina/LuminaXDG.h index dd9d1c67..acb688ff 100644 --- a/src-qt5/core/libLumina/LuminaXDG.h +++ b/src-qt5/core/libLumina/LuminaXDG.h @@ -125,6 +125,7 @@ private: public: //Couple overloaded contructors + LFileInfo(); LFileInfo(QString filepath); LFileInfo(QFileInfo info); ~LFileInfo(){ |