summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/history.cpp1
-rw-r--r--src/mainwindow.cpp2
-rw-r--r--src/webpage.cpp1
3 files changed, 3 insertions, 1 deletions
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));