[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 93436] Option "Encrypt always for yourself" is always enabled
From:       Bruno Virlet <bruno.virlet () gmail ! com>
Date:       2007-08-27 13:31:45
Message-ID: 20070827133145.2060.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=93436         




------- Additional Comments From bruno.virlet gmail com  2007-08-27 15:31 -------
SVN commit 705217 by bvirlet:

Port r705205 to enterprise branch.

CCBUG: 93436


 M  +3 -1      kmcomposewin.cpp  


--- branches/kdepim/enterprise/kdepim/kmail/kmcomposewin.cpp #705216:705217
 @ -2260,7 +2260,9  @
 }
 
 bool KMComposeWin::encryptToSelf() const {
-  return !Kpgp::Module::getKpgp() || Kpgp::Module::getKpgp()->encryptToSelf();
+//  return !Kpgp::Module::getKpgp() || Kpgp::Module::getKpgp()->encryptToSelf();
+  KConfigGroup group( KMKernel::config(), "Composer" );
+  return group.readEntry( "crypto-encrypt-to-self", true );
 }
 
 bool KMComposeWin::queryExit ()
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic