diff --git a/lang/qt/src/threadedjobmixin.h b/lang/qt/src/threadedjobmixin.h index aef2723a..32b23db9 100644 --- a/lang/qt/src/threadedjobmixin.h +++ b/lang/qt/src/threadedjobmixin.h @@ -153,7 +153,8 @@ protected: void lateInitialization() { 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); QGpgME::g_context_map.insert(this, m_ctx.get()); }