From ba7e76a2ee167aff632fdd8bd4d9b840b20bbd16 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 12 Oct 2013 19:52:41 +0200 Subject: Fix Rename in FilesystemWidget Use a dialog for renaming files. Craptastic. Dunno why just calling the editor doesn't work any more, but that's life... --- smdirmodel.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'smdirmodel.cpp') 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 &data){ beginResetModel(); root()->insertChild(w, newItem); endResetModel(); + if(!data.at(Md5sum).isValid() || !data.at(DurSize).isValid()){ + mWatch->gatherAsync(data.at(FullPath).toString()); + } return; } -- cgit v1.2.3-70-g09d2