aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-11-15 11:30:56 +0000
committerAndre Heinecke <[email protected]>2016-11-15 11:30:56 +0000
commit45abe6d142e314ba7099ad80b6365af171b06fec (patch)
treec3bd9b918381b0103c3446ef8ddc761c718817bf
parentdoc: Fix typos. (diff)
downloadgpgme-45abe6d142e314ba7099ad80b6365af171b06fec.tar.gz
gpgme-45abe6d142e314ba7099ad80b6365af171b06fec.zip
qt: Use new style connect in th..mixin
* lang/qt/src/threadedjobmixin.h (ThreadedJobMixin::lateInitialization): Use new style connect.
-rw-r--r--lang/qt/src/threadedjobmixin.h3
1 files changed, 2 insertions, 1 deletions
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());
}