qt: Use new style connect in th..mixin

* lang/qt/src/threadedjobmixin.h
(ThreadedJobMixin::lateInitialization): Use new style connect.
This commit is contained in:
Andre Heinecke 2016-11-15 12:30:56 +01:00
parent ff3b72e2a3
commit 45abe6d142

View File

@ -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());
} }