summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-12 10:33:53 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-12 10:33:53 +0200
commit42a0a1c79998a428315f01fd1b3ddedc575f9eba (patch)
treebeeb1dbf74afaae3f1d1660ae5f730ce58d888b7 /src/webpage.cpp
parentprevent icon loading when error page (diff)
downloadrekonq-42a0a1c79998a428315f01fd1b3ddedc575f9eba.tar.xz
Fix memory leaks
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index c91b9471..c9a9b840 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -72,7 +72,7 @@ WebPage::WebPage(QObject *parent)
: QWebPage(parent)
, m_keyboardModifiers(Qt::NoModifier)
, m_pressedButtons(Qt::NoButton)
- , m_requestedUrl("")
+ , m_requestedUrl()
{
setForwardUnsupportedContent(true);
@@ -84,6 +84,11 @@ WebPage::WebPage(QObject *parent)
}
+WebPage::~WebPage()
+{
+}
+
+
bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &request, NavigationType type)
{
m_requestedUrl = request.url();