diff options
Diffstat (limited to 'kmailcvt/filter_sylpheed.cxx')
-rw-r--r-- | kmailcvt/filter_sylpheed.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmailcvt/filter_sylpheed.cxx b/kmailcvt/filter_sylpheed.cxx index fcf53f74a..489083f04 100644 --- a/kmailcvt/filter_sylpheed.cxx +++ b/kmailcvt/filter_sylpheed.cxx @@ -37,7 +37,6 @@ FilterSylpheed::FilterSylpheed( void ) : /** Destructor. */ FilterSylpheed::~FilterSylpheed( void ) { - endImport(); } /** Recursive import of Sylpheed maildir. */ @@ -51,6 +50,7 @@ void FilterSylpheed::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." ) ); |