From 45abe6d142e314ba7099ad80b6365af171b06fec Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Tue, 15 Nov 2016 12:30:56 +0100 Subject: [PATCH] qt: Use new style connect in th..mixin * lang/qt/src/threadedjobmixin.h (ThreadedJobMixin::lateInitialization): Use new style connect. --- lang/qt/src/threadedjobmixin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); }