fixed clearing of PGP passphrase after creation of default identity

This commit is contained in:
csoler 2017-07-29 22:37:14 +02:00
parent 6f7e656d6c
commit 345f24eb5f
5 changed files with 13 additions and 5 deletions

View file

@ -785,6 +785,13 @@ void NotifyQt::notifyListPreChange(int list, int /*type*/)
* uses Flags, to detect changes
*/
void NotifyQt::resetCachedPassphrases()
{
std::cerr << "Clearing PGP passphrase." << std::endl;
rsNotify->clearPgpPassphrase() ;
}
void NotifyQt::enable()
{
QMutexLocker m(&_mutex) ;