[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kdepim/enterprise4/kdepim/kmail
From: Till Adam <adam () kde ! org>
Date: 2008-05-26 12:43:41
Message-ID: 1211805821.127273.7207.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 812800 by tilladam:
Don't try to write the index of a closed folder. This seems to have been a noop on \
the mmap'd index implementation, but wrecks havoc with the sqlite based one.
M +1 -1 kmheaders.cpp
--- branches/kdepim/enterprise4/kdepim/kmail/kmheaders.cpp #812799:812800
@@ -724,10 +724,10 @@
BroadcastStatus::instance(), SLOT( setStatusMsg( const QString& ) \
) );
disconnect(mFolder, SIGNAL(viewConfigChanged()), this, SLOT(reset()));
writeSortOrder();
- mFolder->close( "kmheaders" );
// System folders remain open but we also should write the index from
// time to time
if (mFolder->dirty()) mFolder->writeIndex();
+ mFolder->close( "kmheaders" );
}
mSortInfo.removed = 0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic