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

Remove duplicate code

svn path=/trunk/KDE/kdepim/kmail/; revision=1158239
parent bdce3d58
...@@ -1925,13 +1925,6 @@ Kleo::CryptoMessageFormat KMComposeWin::cryptoMessageFormat() const ...@@ -1925,13 +1925,6 @@ Kleo::CryptoMessageFormat KMComposeWin::cryptoMessageFormat() const
return cb2format( mCryptoModuleAction->currentItem() ); 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 () bool KMComposeWin::queryExit ()
{ {
return true; return true;
......
...@@ -437,7 +437,6 @@ class KMComposeWin : public KMail::Composer ...@@ -437,7 +437,6 @@ class KMComposeWin : public KMail::Composer
private: private:
Kleo::CryptoMessageFormat cryptoMessageFormat() const; Kleo::CryptoMessageFormat cryptoMessageFormat() const;
bool encryptToSelf() const;
private: 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