qt: Use new style connect in th..mixin
* lang/qt/src/threadedjobmixin.h (ThreadedJobMixin::lateInitialization): Use new style connect.
This commit is contained in:
parent
ff3b72e2a3
commit
45abe6d142
@ -153,7 +153,8 @@ protected:
|
|||||||
void lateInitialization()
|
void lateInitialization()
|
||||||
{
|
{
|
||||||
assert(m_ctx);
|
assert(m_ctx);
|
||||||
QObject::connect(&m_thread, SIGNAL(finished()), this, SLOT(slotFinished()));
|
QObject::connect(&m_thread, &QThread::finished, this,
|
||||||
|
&mixin_type::slotFinished);
|
||||||
m_ctx->setProgressProvider(this);
|
m_ctx->setProgressProvider(this);
|
||||||
QGpgME::g_context_map.insert(this, m_ctx.get());
|
QGpgME::g_context_map.insert(this, m_ctx.get());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user