summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-06 21:32:12 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 11:17:16 -0800
commit5bf0e48700004c093f9f755d36ae1bec2ebb85d3 (patch)
treee76943b9b3a030e4b240ce6a13d4f3a93ec932d8 /desktop-widgets/mainwindow.cpp
parent726e251ffc3ebaa4e9c8a94048cb192ba51f7016 (diff)
downloadsubsurface-5bf0e48700004c093f9f755d36ae1bec2ebb85d3.tar.gz
Remove unused variable
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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);
}