Avoid crash when checking mail with local accounts. This is not the

right way to fix it, though, it would be better to have an explicit
"this is a folder without an index and without exported serial numbers"
flag of some kind. Ingo do you agree?

CCMAIL: kmail-devel@kde.org

svn path=/trunk/KDE/kdepim/; revision=429482
wilder-work
Till Adam 21 years ago
parent 0fae48f2d8
commit cc077fb039
  1. 3
      kmfolder.cpp

@ -66,7 +66,8 @@ KMFolder::KMFolder( KMFolderDir* aParent, const QString& aFolderName,
// trigger from here, since it needs a fully constructed FolderStorage
assert( mStorage );
mStorage->registerWithMessageDict();
if ( aParent )
mStorage->registerWithMessageDict();
if ( aParent ) {
connect( mStorage, SIGNAL( msgAdded( KMFolder*, Q_UINT32 ) ),

Loading…
Cancel
Save