aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/qt/src/qgpgmerefreshopenpgpkeysjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/qt/src/qgpgmerefreshopenpgpkeysjob.cpp b/lang/qt/src/qgpgmerefreshopenpgpkeysjob.cpp
index 36ea9a1b..721d3cfc 100644
--- a/lang/qt/src/qgpgmerefreshopenpgpkeysjob.cpp
+++ b/lang/qt/src/qgpgmerefreshopenpgpkeysjob.cpp
@@ -123,7 +123,7 @@ static QGpgMERefreshOpenPGPKeysJob::result_type refresh_keys(Context *ctx, const
GpgME::Error QGpgMERefreshOpenPGPKeysJob::start(const std::vector<GpgME::Key> &keys)
{
- run(std::bind(&refresh_keys, std::placeholders::_1, keys));
+ run([keys](Context *ctx) { return refresh_keys(ctx, keys); });
return Error{};
}