From 2be9cf21aef39a34a807eb29b29eec726ec68f97 Mon Sep 17 00:00:00 2001 From: saturneric Date: Wed, 31 Jul 2024 07:55:59 +0200 Subject: fix: addressing some of the issues identified --- src/m_pinentry/GpgPassphraseContext.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/m_pinentry/GpgPassphraseContext.cpp') diff --git a/src/m_pinentry/GpgPassphraseContext.cpp b/src/m_pinentry/GpgPassphraseContext.cpp index 4e21a20..61add57 100644 --- a/src/m_pinentry/GpgPassphraseContext.cpp +++ b/src/m_pinentry/GpgPassphraseContext.cpp @@ -54,4 +54,8 @@ auto GpgPassphraseContext::GetPassphraseInfo() const -> QString { auto GpgPassphraseContext::IsPreWasBad() const -> bool { return prev_was_bad_; } -auto GpgPassphraseContext::IsAskForNew() const -> bool { return ask_for_new_; } \ No newline at end of file +auto GpgPassphraseContext::IsAskForNew() const -> bool { return ask_for_new_; } + +auto GpgPassphraseContext::IsSuccess() const -> bool { return success_; } + +void GpgPassphraseContext::SetSuccess(bool success) { success_ = success; } \ No newline at end of file -- cgit v1.2.3