aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-08-27 14:22:39 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-08-27 14:22:39 +0000
commit1491bf832e06d0c1c3f6c9ced236c090263002d3 (patch)
tree3b3cecda5a662c4bc214aa76200ede16e1455c22 /gpgwin.cpp
parentfix bug that crashes windows-build when encrypting twice (diff)
downloadgpg4usb-1491bf832e06d0c1c3f6c9ced236c090263002d3.tar.gz
gpg4usb-1491bf832e06d0c1c3f6c9ced236c090263002d3.zip
implement remember password functionality
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@367 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index cc721f7..53d5d1e 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -361,6 +361,9 @@ void GpgWin::closeEvent(QCloseEvent *event)
event->ignore();
}
+ // clear password from memory
+ mCtx->clearPasswordCache();
+
}
void GpgWin::open()