diff options
author | Ken Moore <ken@ixsystems.com> | 2017-11-15 09:26:49 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-11-15 09:26:49 -0500 |
commit | fedae78e9b525bf1122170c1d009b8f79a45804c (patch) | |
tree | 79c094e778583ec6b94bad5263b0327131972935 /src-qt5/desktop-utils/lumina-fm/Browser.cpp | |
parent | Expose the "directory" saving option within lumina-config for wallpapers now. (diff) | |
download | lumina-fedae78e9b525bf1122170c1d009b8f79a45804c.tar.gz lumina-fedae78e9b525bf1122170c1d009b8f79a45804c.tar.bz2 lumina-fedae78e9b525bf1122170c1d009b8f79a45804c.zip |
Finish cleaning up the new LFileInfo class/file.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/Browser.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/Browser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/Browser.cpp b/src-qt5/desktop-utils/lumina-fm/Browser.cpp index 29cc5a99..a3a8f7ee 100644 --- a/src-qt5/desktop-utils/lumina-fm/Browser.cpp +++ b/src-qt5/desktop-utils/lumina-fm/Browser.cpp @@ -102,7 +102,7 @@ void Browser::futureFinished(QString name, QImage icon){ //Note: this will be called once for every item that loads //Haven't added the extra files in a directory fix, but that should be easy to do //Try to load a file with multiple videos and lots of other stuff before any other directory. It crashes for some reason - //qDebug() << name << "here"; + //qDebug() << "Finished:" << name; QIcon *ico = new QIcon(); LFileInfo *info = new LFileInfo(name); if(!icon.isNull() && showThumbs){ @@ -153,6 +153,7 @@ void Browser::loadDirectory(QString dir, bool force){ if(showHidden){ files = directory.entryList( QDir::Dirs | QDir::Files | QDir::Hidden | QDir::NoDotAndDotDot, QDir::NoSort); } else{ files = directory.entryList( QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot, QDir::NoSort); } if(dirupdate){ emit itemsLoading(files.length()); } + //qDebug() << "Files Found:" << files.length(); for(int i=0; i<files.length(); i++){ watcher->addPath(directory.absoluteFilePath(files[i])); QString path = directory.absoluteFilePath(files[i]); |