qt: Fix build with g++ 4.8.x

* lang/qt/src/defaultkeygenerationjob.cpp
(DefaultKeyGenerationJob::start): Explicitly connect pointer
in the QPointer.

--
Commit message written by Andre Heinecke <aheinecke@intevation.de>
This commit is contained in:
Andras Mantia 2016-11-02 11:23:42 +02:00 committed by Andre Heinecke
parent bf9aa0ccf7
commit b4658f6a11

View File

@ -105,11 +105,11 @@ GpgME::Error DefaultKeyGenerationJob::start(const QString &email, const QString
d->job = openpgp()->keyGenerationJob();
d->job->installEventFilter(this);
connect(d->job, &KeyGenerationJob::result,
connect(d->job.data(), &KeyGenerationJob::result,
this, &DefaultKeyGenerationJob::result);
connect(d->job, &KeyGenerationJob::done,
connect(d->job.data(), &KeyGenerationJob::done,
this, &DefaultKeyGenerationJob::done);
connect(d->job, &KeyGenerationJob::done,
connect(d->job.data(), &KeyGenerationJob::done,
this, &QObject::deleteLater);
return d->job->start(args);
}