summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdepim/files/kmail-3.5.6-kde-bug-140660.patch')
-rw-r--r--kde-base/kdepim/files/kmail-3.5.6-kde-bug-140660.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/kde-base/kdepim/files/kmail-3.5.6-kde-bug-140660.patch b/kde-base/kdepim/files/kmail-3.5.6-kde-bug-140660.patch
new file mode 100644
index 000000000000..323e349267b1
--- /dev/null
+++ b/kde-base/kdepim/files/kmail-3.5.6-kde-bug-140660.patch
@@ -0,0 +1,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