Summary: | kmail stops checking local mailbox | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Simon Munton <simon.j.munton> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | patch to remove mProcessingNewMail |
Description
Simon Munton
2006-07-16 22:40:42 UTC
Created attachment 17012 [details]
patch to remove mProcessingNewMail
This patch removes the mProcessingNewMail stuff from kmacctlocal.cpp and
kmacctlocal.h
SVN commit 586892 by winterz: Fix for "kmail stops checking local mailbox" Patch provided by Simon (Thanks!) and approved by Ingo and Till. BUGS: 130938 M +1 -7 kmacctlocal.cpp M +0 -1 kmacctlocal.h --- branches/KDE/3.5/kdepim/kmail/kmacctlocal.cpp #586891:586892 @@ -31,7 +31,7 @@ //----------------------------------------------------------------------------- KMAcctLocal::KMAcctLocal(AccountManager* aOwner, const QString& aAccountName, uint id): KMAccount(aOwner, aAccountName, id), mHasNewMail( false ), - mProcessingNewMail( false ), mAddedOk( true ), mNumMsgs( 0 ), + mAddedOk( true ), mNumMsgs( 0 ), mMsgsFetched( 0 ), mMailFolder( 0 ) { mLock = procmail_lockfile; @@ -73,14 +73,9 @@ //----------------------------------------------------------------------------- void KMAcctLocal::processNewMail(bool) { - if ( mProcessingNewMail ) - return; - mHasNewMail = false; - mProcessingNewMail = true; if ( !preProcess() ) { - mProcessingNewMail = false; return; } @@ -99,7 +94,6 @@ } postProcess(); - mProcessingNewMail = false; } --- branches/KDE/3.5/kdepim/kmail/kmacctlocal.h #586891:586892 @@ -46,7 +46,6 @@ QString mLocation; QString mProcmailLockFileName; bool mHasNewMail; - bool mProcessingNewMail; bool mAddedOk; LockType mLock; int mNumMsgs; |