Backport r834272 by tmcguire to the 4.1 branch:
Backport r834272 by tmcguire to the 4.1 branch:

Fix "leave on server only the last x messages" and "leave on server only the last x MB" not working
when "leave on server for x days" is not checked for POP3 accounts.

Many thanks to Will Stephenson who came up with the patch.
CCBUG:151308

svn path=/branches/KDE/4.1/kdepim/; revision=834291

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi