summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-05-26 00:16:10 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-05-26 00:16:10 +0200
commit146575c0b2099142653a261ea508a7637c6dadfd (patch)
tree7927ee4c9035f9a220c1eb0f8a302baecaf5b80d /src/application.cpp
parentAdding DownloadManager class, following Pierre and Benjamin code changes. (diff)
downloadrekonq-146575c0b2099142653a261ea508a7637c6dadfd.tar.xz
Last
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 311c90a2..c00f3f96 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -126,6 +126,14 @@ Application::~Application()
m_adblockManager.clear();
}
+ // TODO:
+ // add a check to NOT close rekonq
+ // until last download is finished
+
+ if (!m_downloadManager.isNull()) {
+ delete m_adblockManager.data();
+ m_adblockManager.clear();
+ }
}