Merge .. from 3.5 ...

SVN commit 627641 by winterz:

Fix for the grave bug "kmail crash when I make a CTRL + J in inbox"

BUGS: 140660

svn path=/branches/kdepim/enterprise/kdepim/; revision=665658
wilder-work
Pradeepto Bhattacharya 19 years ago
parent ee198d7781
commit bba2ad4a09
  1. 4
      kmfolder.cpp

@ -422,12 +422,12 @@ int KMFolder::moveMsg(QPtrList<KMMessage> q, int* index_return )
int KMFolder::find( const KMMsgBase* msg ) const
{
return mStorage->find( msg );
return mStorage ? mStorage->find( msg ) : 0;
}
int KMFolder::find( const KMMessage* msg ) const
{
return mStorage->find( msg );
return mStorage ? mStorage->find( msg ) : 0;
}
int KMFolder::count( bool cache ) const

Loading…
Cancel
Save