wilder
Montel Laurent 10 years ago
parent 897b9e4465
commit 31fa166c8a
  1. 16
      src/folder/foldercollection.cpp

@ -77,6 +77,14 @@ FolderCollection::FolderCollection(const Akonadi::Collection &col, bool writecon
this, SLOT(slotIdentitiesChanged()));
}
FolderCollection::~FolderCollection()
{
//qCDebug(MAILCOMMON_LOG)<<" FolderCollection::~FolderCollection"<<this;
if (mWriteConfig) {
writeConfig();
}
}
MessageViewer::Viewer::DisplayFormatMessage FolderCollection::formatMessage() const
{
return mFormatMessage;
@ -87,14 +95,6 @@ void FolderCollection::setFormatMessage(MessageViewer::Viewer::DisplayFormatMess
mFormatMessage = formatMessage;
}
FolderCollection::~FolderCollection()
{
//qCDebug(MAILCOMMON_LOG)<<" FolderCollection::~FolderCollection"<<this;
if (mWriteConfig) {
writeConfig();
}
}
void FolderCollection::clearCache()
{
QMutexLocker lock(&mapMutex);

Loading…
Cancel
Save