[Pkg-gnupg-commit] [gpgme] 45/62: qt: Use new style connect in th..mixin

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Nov 19 04:03:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit 45abe6d142e314ba7099ad80b6365af171b06fec
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Tue Nov 15 12:30:56 2016 +0100

    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 aef2723..32b23db 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());
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list