diff options
-rw-r--r-- | src/history.cpp | 1 | ||||
-rw-r--r-- | src/mainwindow.cpp | 2 | ||||
-rw-r--r-- | src/webpage.cpp | 1 |
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)); |