Fix crash in file organiser.

This commit is contained in:
John Maguire 2010-07-01 19:10:48 +00:00
parent fff5c1bb5d
commit b4fa694847
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ void Organise::ProcessSomeFiles() {
for ( ; progress_<n ; ++progress_) {
task_manager_->SetTaskProgress(task_id_, progress_, files_.count());
const QString& filename = files_[progress_];
const QString filename = files_[progress_];
// Is it a directory?
if (QFileInfo(filename).isDir()) {