summaryrefslogtreecommitdiffstats
path: root/smdirmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smdirmodel.cpp')
-rw-r--r--smdirmodel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/smdirmodel.cpp b/smdirmodel.cpp
index 2cdfb8d..b520d07 100644
--- a/smdirmodel.cpp
+++ b/smdirmodel.cpp
@@ -247,6 +247,9 @@ void SmDirModel::addFile(const QList<QVariant> &data){
beginResetModel();
root()->insertChild(w, newItem);
endResetModel();
+ if(!data.at(Md5sum).isValid() || !data.at(DurSize).isValid()){
+ mWatch->gatherAsync(data.at(FullPath).toString());
+ }
return;
}