diff options
| author | Arno <am@disconnect.de> | 2013-10-12 19:52:41 +0200 | 
|---|---|---|
| committer | Arno <am@disconnect.de> | 2013-10-12 19:52:41 +0200 | 
| commit | ba7e76a2ee167aff632fdd8bd4d9b840b20bbd16 (patch) | |
| tree | 553166d11bf6bedc25031942f5b1e93e833c6e58 /smdirmodel.cpp | |
| parent | 039c05ea483523f93d818295cc7ed11633867338 (diff) | |
| download | SheMov-ba7e76a2ee167aff632fdd8bd4d9b840b20bbd16.tar.gz SheMov-ba7e76a2ee167aff632fdd8bd4d9b840b20bbd16.tar.bz2 SheMov-ba7e76a2ee167aff632fdd8bd4d9b840b20bbd16.zip | |
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...
Diffstat (limited to 'smdirmodel.cpp')
| -rw-r--r-- | smdirmodel.cpp | 3 | 
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;  } | 
