summaryrefslogtreecommitdiffstats
path: root/src/ui/docgalleryui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/docgalleryui.cpp')
-rw-r--r--src/ui/docgalleryui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/docgalleryui.cpp b/src/ui/docgalleryui.cpp
index 8e45ef3..9cec1b7 100644
--- a/src/ui/docgalleryui.cpp
+++ b/src/ui/docgalleryui.cpp
@@ -81,8 +81,8 @@ void DocGalleryUi::addStandardItems()
// Add some images
QString modelPath = qApp->applicationDirPath() + "/models";
- mImageReaderWatcher.setFuture(QtConcurrent::run(this, &DocGalleryUi::readImages, modelPath));
connect(&mImageReaderWatcher, SIGNAL(finished()), this, SLOT(finishReadingImages()));
+ mImageReaderWatcher.setFuture(QtConcurrent::run(this, &DocGalleryUi::readImages, modelPath));
}
void DocGalleryUi::openItem(QTreeWidgetItem *widgetItem, int)