summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Krause <[email protected]>2016-09-06 10:59:32 +0200
committerVolker Krause <[email protected]>2016-09-06 10:59:32 +0200
commit5e666673e372c92b3a51818153d61504602bd86c (patch)
tree7ee5eb7fd883fd12ba281793518786d676c8f7f9
parentbc2b4d78df7d1b61469b1d3e8689dcee4da59a2d (diff)
Fix compilation with GCC 4.8
-rw-r--r--src/kleo/defaultkeygenerationjob.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kleo/defaultkeygenerationjob.cpp b/src/kleo/defaultkeygenerationjob.cpp
index 7a274d6..a436a50 100644
--- a/src/kleo/defaultkeygenerationjob.cpp
+++ b/src/kleo/defaultkeygenerationjob.cpp
@@ -89,11 +89,11 @@ GpgME::Error DefaultKeyGenerationJob::start(const QString &email, const QString
d->job = CryptoBackendFactory::instance()->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);
}