Don't nuke the whole search file but only the index when invalidating a

folder. Proposed by and discusses with Don.

svn path=/trunk/kdepim/; revision=336108
wilder-work
Till Adam 22 years ago
parent 0772d9f5cc
commit fa2da52d55
  1. 6
      kmfoldersearch.cpp

@ -1069,7 +1069,11 @@ void KMFolderSearch::examineInvalidatedFolder(KMFolder *folder)
if (mSearch)
mSearch->stop();
removeContents();
if (!mUnlinked) {
unlink(QFile::encodeName(indexLocation()));
mUnlinked = true;
}
if (!isOpened()) //give up, until the user manually opens the folder
return;

Loading…
Cancel
Save