logic: Fix indexing progress dialog not updated when fetching storage

This commit is contained in:
Eberhard Graether
2017-05-10 15:52:24 +02:00
parent 2136e30a48
commit 960ca6703e
2 changed files with 9 additions and 2 deletions
+5 -1
View File
@@ -262,7 +262,11 @@ void QtIndexingDialog::updateIndexingProgress(size_t fileCount, size_t totalFile
progress = fileCount * 100 / totalFileCount;
}
m_sourcePath = QString::fromStdString(sourcePath);
if (sourcePath.size())
{
m_sourcePath = QString::fromStdString(sourcePath);
}
updateProgress(progress);
}