ignore .index.db suffix only for KMAIL_SQLITE_INDEX mode

BTW, result of (pending) inspection of the recent merge of nommap branch available at:
http://techbase.kde.org/Projects/PIM/MS_Windows/SQLite_Folder_Indices/merge

CCMAIL:kde-pim@kde.org


svn path=/trunk/KDE/kdepim/; revision=805352
wilder-work
Jarosaw Staniek 18 years ago
parent 58ed7df75d
commit ee42b24b35
  1. 6
      kmfolderdir.cpp

@ -204,7 +204,11 @@ bool KMFolderDir::reload(void)
// ignore all hidden files except our subfolder containers
continue;
}
if( fname == ".directory" || fname.endsWith( ".index.db" ) ) {
if ( fname == ".directory"
#ifdef KMAIL_SQLITE_INDEX
|| fname.endsWith( ".index.db" )
#endif
) {
// ignore .directory and *.index.db files (not created by us)
continue;
}

Loading…
Cancel
Save