https://bugs.kde.org/show_bug.cgi?id=284224





--- Comment #1 from Will Stephenson <wstephenson kde org>  2011-10-16 22:42:40 
---
If MaildirResource::ensureSaneConfiguration() is called in the ctor, we notice
the problem early.  This would allow kmail-migrator to correct the problem or
warn the user.

diff --git a/resources/maildir/maildirresource.cpp
b/resources/maildir/maildirresource.cpp
index 7536aa8..89ff635 100644
--- a/resources/maildir/maildirresource.cpp
+++ b/resources/maildir/maildirresource.cpp
@@ -112,6 +112,7 @@ MaildirResource::MaildirResource( const QString &id )
   scope.setAncestorRetrieval( ItemFetchScope::None );
   setItemSynchronizationFetchScope( scope );

+  ensureSaneConfiguration();
   connect( m_fsWatcher, SIGNAL(dirty(QString)), SLOT(slotDirChanged(QString))
);

   synchronizeCollectionTree();
l

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to