SOURCES: kdepim-enterprise-kmfolder.patch (NEW) - fix kmfolder ope...

arekm arekm at pld-linux.org
Tue Oct 23 20:42:34 CEST 2007


Author: arekm                        Date: Tue Oct 23 18:42:33 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix kmfolder open and close calls

---- Files affected:
SOURCES:
   kdepim-enterprise-kmfolder.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/kdepim-enterprise-kmfolder.patch
diff -u /dev/null SOURCES/kdepim-enterprise-kmfolder.patch:1.1
--- /dev/null	Tue Oct 23 20:42:33 2007
+++ SOURCES/kdepim-enterprise-kmfolder.patch	Tue Oct 23 20:42:28 2007
@@ -0,0 +1,20 @@
+--- kdepim/kmail/index.cpp	2007-10-23 20:38:29.549542357 +0200
++++ kdepim/kmail/index.cpp~	2007-09-02 17:52:21.000000000 +0200
+@@ -251,7 +251,7 @@
+ 	mExisting.clear();
+ 	mState = s_disabled;
+ 	for ( std::set<KMFolder*>::const_iterator first = mOpenedFolders.begin(), past = mOpenedFolders.end(); first != past; ++first ) {
+-		( *first )->close("msgindex");
++		( *first )->close();
+ 	}
+ 	mOpenedFolders.clear();
+ 	for ( std::vector<Search*>::const_iterator first = mSearches.begin(), past = mSearches.end(); first != past; ++first ) {
+@@ -285,7 +285,7 @@
+ 	if ( !folder || idx == -1 ) return -1;
+ 	if ( !mOpenedFolders.count( folder ) ) {
+ 		mOpenedFolders.insert( folder );
+-		folder->open("msgindex");
++		folder->open();
+ 	}
+ 	KMMessage* msg = folder->getMsg( idx );
+ 	/* I still don't know whether we should allow decryption or not.
================================================================


More information about the pld-cvs-commit mailing list