blob: 323e349267b19fcf2850b48b258f4795fd34f510 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Index: kmfolder.cpp
===================================================================
--- kdepim-3.5.6/kmail/kmfolder.cpp (revision 627528)
+++ kdepim-3.5.6/kmail/kmfolder.cpp (working copy)
@@ -426,12 +426,12 @@ int KMFolder::moveMsg(QPtrList<KMMessage
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
|