diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-05-30 14:02:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-05-30 14:02:22 +0900 |
commit | 2fb9f1c2a1e057d95e205873a1ef92d56c2f4de0 (patch) | |
tree | 95c833fef0dd0009c27704a7d5479bed8abfb19e | |
parent | eb8555ba760cefa6932495c4637c8ebd6d58ba6c (diff) | |
download | digikam-2fb9f1c2a1e057d95e205873a1ef92d56c2f4de0.tar.gz digikam-2fb9f1c2a1e057d95e205873a1ef92d56c2f4de0.zip |
Fixed delay in slideshow from toolbar button. This resolves bug 2306
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | digikam/digikam/digikamview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/digikam/digikam/digikamview.cpp b/digikam/digikam/digikamview.cpp index 48dc1d2..2960282 100644 --- a/digikam/digikam/digikamview.cpp +++ b/digikam/digikam/digikamview.cpp @@ -33,6 +33,7 @@ #include <tqlabel.h> #include <tqimage.h> #include <tqevent.h> +#include <tqeventloop.h> #include <tqapplication.h> #include <tqsplitter.h> #include <tqtimer.h> @@ -1542,7 +1543,7 @@ void DigikamView::slideShow(ImageInfoList &infoList) settings.pictInfoMap.insert(info->kurl(), pictInfo); emit signalProgressValue((int)((i++/cnt)*100.0)); - kapp->processEvents(); + kapp->eventLoop()->processEvents(TQEventLoop::AllEvents & ~TQEventLoop::WaitForMore); } emit signalProgressBarMode(StatusProgressBar::TextMode, TQString()); |