From 255333a2235a9e46eab026de12fe915a3c18035f Mon Sep 17 00:00:00 2001 From: Ingo Date: Mon, 28 Oct 2013 16:29:17 +0100 Subject: [PATCH] Avoid double processing of thumb when adding pic to queue, Issue 1803 --- rtgui/bqentryupdater.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtgui/bqentryupdater.cc b/rtgui/bqentryupdater.cc index 61c430d52..95a9be7ca 100644 --- a/rtgui/bqentryupdater.cc +++ b/rtgui/bqentryupdater.cc @@ -87,7 +87,8 @@ void BatchQueueEntryUpdater::processThread () { jqueue.pop_front (); } qMutex->unlock (); - + if(isEmpty) + break; rtengine::IImage8* img = NULL; bool newBuffer = false; if (current.thumbnail && current.pparams) {