Commit 3edb0867 authored by Laurent Montel's avatar Laurent Montel 😁

Remove duplicate code

svn path=/trunk/KDE/kdepim/kmail/; revision=1158239
parent bdce3d58
......@@ -1925,13 +1925,6 @@ Kleo::CryptoMessageFormat KMComposeWin::cryptoMessageFormat() const
return cb2format( mCryptoModuleAction->currentItem() );
}
bool KMComposeWin::encryptToSelf() const
{
// return !Kpgp::Module::getKpgp() || Kpgp::Module::getKpgp()->encryptToSelf();
KConfigGroup group( KMKernel::config(), "Composer" );
return group.readEntry( "crypto-encrypt-to-self", true );
}
bool KMComposeWin::queryExit ()
{
return true;
......
......@@ -437,7 +437,6 @@ class KMComposeWin : public KMail::Composer
private:
Kleo::CryptoMessageFormat cryptoMessageFormat() const;
bool encryptToSelf() const;
private:
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment