diff options
Diffstat (limited to 'src/core/model/GpgUID.h')
-rw-r--r-- | src/core/model/GpgUID.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/model/GpgUID.h b/src/core/model/GpgUID.h index d8ac47f2..49ddd4c4 100644 --- a/src/core/model/GpgUID.h +++ b/src/core/model/GpgUID.h @@ -109,7 +109,8 @@ class GPGFRONTEND_CORE_EXPORT GpgUID { * * @param uid */ - explicit GpgUID(gpgme_user_id_t uid); + explicit GpgUID(QSharedPointer<struct _gpgme_key> key_ref, + gpgme_user_id_t uid); /** * @brief @@ -125,6 +126,7 @@ class GPGFRONTEND_CORE_EXPORT GpgUID { auto operator=(const GpgUID &) -> GpgUID &; private: + QSharedPointer<struct _gpgme_key> key_ref_; gpgme_user_id_t uid_ref_ = nullptr; ///< }; |