Message info
 
To:kde-commits@kde.org From:Benjamin Girault Subject:[kipi-plugins] jpeglossless/plugin: JPEGLossLess: bugfix ThreadWeaver Jobs Date:Sun, 18 Mar 2012 17:36:14 +0100 (CET)
 

Git commit 043942655dbf1e8bcc9620e7ad2836d8461974c3 by Benjamin Girault.
Committed on 15/03/2012 at 22:22.
Pushed by girault into branch 'master'.

JPEGLossLess: bugfix ThreadWeaver Jobs

M +3 -3 jpeglossless/plugin/actionthread.cpp

http://commits.kde.org/kipi-plugins/043942655dbf1e8bcc9620e7ad2836d8461974c3

diff --git a/jpeglossless/plugin/actionthread.cpp b/jpeglossless/plugin/actionthread.cpp
index 3624e94..2bea79d 100644
--- a/jpeglossless/plugin/actionthread.cpp
+++ b/jpeglossless/plugin/actionthread.cpp
@@ -138,7 +138,7 @@ ActionThread::~ActionThread()

void ActionThread::rotate(const KUrl::List& urlList, RotateAction val)
{
- JobCollection* collection = new JobCollection(this);
+ JobCollection* collection = new JobCollection();

for (KUrl::List::const_iterator it = urlList.constBegin();
it != urlList.constEnd(); ++it )
@@ -162,7 +162,7 @@ void ActionThread::rotate(const KUrl::List& urlList, RotateAction val)

void ActionThread::flip(const KUrl::List& urlList, FlipAction val)
{
- JobCollection* collection = new JobCollection(this);
+ JobCollection* collection = new JobCollection();

for (KUrl::List::const_iterator it = urlList.constBegin();
it != urlList.constEnd(); ++it )
@@ -186,7 +186,7 @@ void ActionThread::flip(const KUrl::List& urlList, FlipAction val)

void ActionThread::convert2grayscale(const KUrl::List& urlList)
{
- JobCollection* collection = new JobCollection(this);
+ JobCollection* collection = new JobCollection();

for (KUrl::List::const_iterator it = urlList.constBegin();
it != urlList.constEnd(); ++it )