qt: Use new style connect in th..mixin
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 15 Nov 2016 11:30:56 +0000 (12:30 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 15 Nov 2016 11:30:56 +0000 (12:30 +0100)
* lang/qt/src/threadedjobmixin.h
(ThreadedJobMixin::lateInitialization): Use new style connect.

lang/qt/src/threadedjobmixin.h

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