From cc29364f06178f8f6b457384f2ec37a042bd9d43 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 1 Sep 2010 00:37:02 +0000 Subject: * Massive set of changes to bring in all fixes and enhancements from the Enterprise PIM branch * Ensured that the Trinity changes were applied on top of those enhancements, and any redundancy removed * Added journal read support to the CalDAV resource * Fixed CalDAV resource to use events URL for tasks and journals when separate URL checkbox unchecked git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1170461 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmailcvt/filter_thebat.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kmailcvt/filter_thebat.cxx') diff --git a/kmailcvt/filter_thebat.cxx b/kmailcvt/filter_thebat.cxx index fa00b915d..de6e5c6b3 100644 --- a/kmailcvt/filter_thebat.cxx +++ b/kmailcvt/filter_thebat.cxx @@ -44,7 +44,6 @@ FilterTheBat::FilterTheBat( void ) : /** Destructor. */ FilterTheBat::~FilterTheBat( void ) { - endImport(); } /** Recursive import of The Bat! maildir. */ @@ -57,6 +56,7 @@ void FilterTheBat::import( FilterInfo *info ) kfd->setMode( KFile::Directory | KFile::LocalOnly ); kfd->exec(); mailDir = kfd->selectedFile(); + delete kfd; if ( mailDir.isEmpty() ) { info->alert( i18n( "No directory selected." ) ); -- cgit v1.2.1