summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index ca36cb75c..a3d6c4333 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -592,7 +592,7 @@ void learnImageDirs(QStringList dirnames)
{
QList<QFuture<void> > futures;
foreach (QString dir, dirnames) {
- futures << QtConcurrent::run(learnImages, QDir(dir), 10, false);
+ futures << QtConcurrent::run(learnImages, QDir(dir), 10);
}
DivePictureModel::instance()->updateDivePicturesWhenDone(futures);
}