summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/backends/qgpgme
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-11-29 19:52:17 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-11-29 21:48:23 +0100
commit2e5de46030e2354b851ba731f6c76ac30a2e8a3b (patch)
treee48732e76e7d0ceb4e01caab16c1aa2a119c1ad0 /certmanager/lib/backends/qgpgme
parent2f0c49e8523a4d26b6bb9c7c8a05d68cb023a568 (diff)
downloadtdepim-2e5de46030e2354b851ba731f6c76ac30a2e8a3b.tar.gz
tdepim-2e5de46030e2354b851ba731f6c76ac30a2e8a3b.zip
Adapted to new KPasswordEdit::password() signature.
This relates to bug 2961. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'certmanager/lib/backends/qgpgme')
-rw-r--r--certmanager/lib/backends/qgpgme/qgpgmejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/certmanager/lib/backends/qgpgme/qgpgmejob.cpp b/certmanager/lib/backends/qgpgme/qgpgmejob.cpp
index 7f08aa29b..947a52587 100644
--- a/certmanager/lib/backends/qgpgme/qgpgmejob.cpp
+++ b/certmanager/lib/backends/qgpgme/qgpgmejob.cpp
@@ -301,5 +301,5 @@ char * Kleo::QGpgMEJob::getPassphrase( const char * useridHint, const char * /*d
}
canceled = false;
// gpgme++ free()s it, and we need to copy as long as dlg isn't deleted :o
- return strdup( dlg.passphrase() );
+ return strdup( dlg.passphrase().utf8() );
}