summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/backends/qgpgme/qgpgmejob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/backends/qgpgme/qgpgmejob.cpp')
-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() );
}