summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_thunderbird.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'kmailcvt/filter_thunderbird.cxx')
-rw-r--r--kmailcvt/filter_thunderbird.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmailcvt/filter_thunderbird.cxx b/kmailcvt/filter_thunderbird.cxx
index a9e091d9b..6ada68098 100644
--- a/kmailcvt/filter_thunderbird.cxx
+++ b/kmailcvt/filter_thunderbird.cxx
@@ -39,7 +39,6 @@ FilterThunderbird::FilterThunderbird(void) :
/** Destructor. */
FilterThunderbird::~FilterThunderbird(void)
{
- endImport();
}
/** Recursive import of Evolution's mboxes. */
@@ -60,6 +59,7 @@ void FilterThunderbird::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."));