From ebb9ae47ae9ec504e2feb6e353caab63baf3f2c5 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 26 Oct 2009 01:03:35 +0100 Subject: memcheck fixes rekonq looses 8 bytes + sizeof(KCompletion) weight :D --- src/history.cpp | 1 + src/mainwindow.cpp | 2 ++ src/webpage.cpp | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/history.cpp b/src/history.cpp index c3ccbad2..91360839 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -95,6 +95,7 @@ HistoryManager::HistoryManager(QObject *parent) HistoryManager::~HistoryManager() { m_saveTimer->saveIfNeccessary(); + delete m_completion; } diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 82c543fb..e26b39bd 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -495,6 +495,8 @@ void MainWindow::slotUpdateConfiguration() // ====== load Settings on main classes Application::historyManager()->loadSettings(); + + defaultSettings = 0; } diff --git a/src/webpage.cpp b/src/webpage.cpp index 2b622847..3754444b 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -72,7 +72,6 @@ WebPage::WebPage(QObject *parent) : QWebPage(parent) , m_keyboardModifiers(Qt::NoModifier) , m_pressedButtons(Qt::NoButton) - , m_requestedUrl() { setPluginFactory(new WebPluginFactory(this)); -- cgit v1.2.1