aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/run-exportjob.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-08-22 12:39:22 +0000
committerIngo Klöcker <[email protected]>2022-08-22 12:39:22 +0000
commit83176ad7d3e57ad7804d3c885e1b4fcd1d4d96f9 (patch)
tree22ae15b703b906aca891af82cdc772fda9cf5032 /lang/qt/tests/run-exportjob.cpp
parentqt: Fix building with Qt6 (diff)
downloadgpgme-83176ad7d3e57ad7804d3c885e1b4fcd1d4d96f9.tar.gz
gpgme-83176ad7d3e57ad7804d3c885e1b4fcd1d4d96f9.zip
qt: Fix building with C++11
* lang/qt/src/qgpgmerefreshsmimekeysjob.cpp (QGpgMERefreshSMIMEKeysJob::start): Replace 'auto' in lambda with the actual type. * lang/qt/src/qgpgmesignkeyjob.cpp (class TrustSignatureProperties): Add default c'tor and c'tor initializing all members. * lang/qt/src/util.cpp (toFingerprints): Replace 'auto' in lambda with the actual type. * lang/qt/tests/run-exportjob.cpp (createExportJob): Replace 'auto' return type with actual type. -- This fixes compilation with strict C++11. GnuPG-bug-id: 6141
Diffstat (limited to 'lang/qt/tests/run-exportjob.cpp')
-rw-r--r--lang/qt/tests/run-exportjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/qt/tests/run-exportjob.cpp b/lang/qt/tests/run-exportjob.cpp
index 0f8fd8fd..40072c85 100644
--- a/lang/qt/tests/run-exportjob.cpp
+++ b/lang/qt/tests/run-exportjob.cpp
@@ -57,7 +57,7 @@ static void showUsageAndExitWithCode(int exitCode)
exit(exitCode);
}
-static auto createExportJob(unsigned int mode)
+static QGpgME::ExportJob *createExportJob(unsigned int mode)
{
if (mode & Context::ExportSecretSubkey) {
return QGpgME::openpgp()->secretSubkeyExportJob(/*armor=*/true);