summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-11-17 23:40:36 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-11-17 23:43:20 +0100
commit1e5d35be7c17de3fee9155b754aa55f6ed92ee62 (patch)
treecf4c18e708526ebf5670c517e33bf931136c891d /src/webtab
parentrekonq 2.4.0 (diff)
downloadrekonq-1e5d35be7c17de3fee9155b754aa55f6ed92ee62.tar.xz
Get sure webkit objects are deleted in the app d-tor
CCBUG: 321557
Diffstat (limited to 'src/webtab')
-rw-r--r--src/webtab/webpage.cpp2
-rw-r--r--src/webtab/webview.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/webtab/webpage.cpp b/src/webtab/webpage.cpp
index b404013d..c488ee9b 100644
--- a/src/webtab/webpage.cpp
+++ b/src/webtab/webpage.cpp
@@ -192,6 +192,8 @@ WebPage::~WebPage()
QString path = WebSnap::imagePathFromUrl(mainFrame()->url().toString());
QFile::remove(path);
preview.save(path);
+
+ kDebug() << "BYE BYE WEBPAGE";
}
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index 6b8416fe..f2349c01 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -128,6 +128,8 @@ WebView::~WebView()
{
if (m_isViewSmoothScrolling)
stopSmoothScrolling();
+
+ kDebug() << "BYE BYE WEBVIEW";
}