diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-12 10:33:53 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-12 10:33:53 +0200 |
commit | 42a0a1c79998a428315f01fd1b3ddedc575f9eba (patch) | |
tree | beeb1dbf74afaae3f1d1660ae5f730ce58d888b7 /src/webpage.cpp | |
parent | prevent icon loading when error page (diff) | |
download | rekonq-42a0a1c79998a428315f01fd1b3ddedc575f9eba.tar.xz |
Fix memory leaks
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 7 |
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(); |