summaryrefslogtreecommitdiff
path: root/migrationutility/imapsourceaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'migrationutility/imapsourceaccount.cpp')
-rw-r--r--migrationutility/imapsourceaccount.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/migrationutility/imapsourceaccount.cpp b/migrationutility/imapsourceaccount.cpp
index 3e470e6..39d9d76 100644
--- a/migrationutility/imapsourceaccount.cpp
+++ b/migrationutility/imapsourceaccount.cpp
@@ -182,6 +182,5 @@ KJob *IMAPSourceAccount::login()
KJob *IMAPSourceAccount::logout()
{
- KIMAP::LogoutJob *logoutJob = new KIMAP::LogoutJob(mSession);
- return logoutJob;
+ return new KIMAP::LogoutJob(mSession);
} \ No newline at end of file