|
|
|
|
@ -61,8 +61,7 @@ PixmapGenerationThread* GeneratorPrivate::pixmapGenerationThread() |
|
|
|
|
|
|
|
|
|
Q_Q( Generator ); |
|
|
|
|
mPixmapGenerationThread = new PixmapGenerationThread( q ); |
|
|
|
|
QObject::connect( mPixmapGenerationThread, SIGNAL(finished()), |
|
|
|
|
q, SLOT(pixmapGenerationFinished()), |
|
|
|
|
QObject::connect( mPixmapGenerationThread, SIGNAL(finished()), q, SLOT(pixmapGenerationFinished()), |
|
|
|
|
Qt::QueuedConnection ); |
|
|
|
|
|
|
|
|
|
return mPixmapGenerationThread; |
|
|
|
|
@ -75,8 +74,7 @@ TextPageGenerationThread* GeneratorPrivate::textPageGenerationThread() |
|
|
|
|
|
|
|
|
|
Q_Q( Generator ); |
|
|
|
|
mTextPageGenerationThread = new TextPageGenerationThread( q ); |
|
|
|
|
QObject::connect( mTextPageGenerationThread, SIGNAL(finished()), |
|
|
|
|
q, SLOT(textpageGenerationFinished()), |
|
|
|
|
QObject::connect( mTextPageGenerationThread, SIGNAL(finished()), q, SLOT(textpageGenerationFinished()), |
|
|
|
|
Qt::QueuedConnection ); |
|
|
|
|
|
|
|
|
|
return mTextPageGenerationThread; |
|
|
|
|
|