From fe7c06fffa370f8f04a3035f3ae92975ea39b960 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 29 Jul 2012 11:22:24 +0200 Subject: Insert back HistoryManager There are a few notable changes here: - rekonq_defines.h clean up, removing the enums from there - let HistoryManager be accessible by a self function --- src/application.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/application.cpp') diff --git a/src/application.cpp b/src/application.cpp index 98b74649..2434eeaa 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -36,6 +36,9 @@ #include "webwindow.h" #include "urlresolver.h" +// Local Manager(s) Includes +#include "historymanager.h" + // // KDE Includes #include @@ -225,7 +228,8 @@ int Application::newInstance() setWindowIcon(KIcon("rekonq")); -// FIXME historyManager(); + // just create History Manager... + HistoryManager::self(); ReKonfig::setRecoverOnCrash(ReKonfig::recoverOnCrash() + 1); saveConfiguration(); @@ -440,8 +444,8 @@ void Application::updateConfiguration() // // Applies user defined CSS to all open webpages. // defaultSettings->setUserStyleSheetUrl(ReKonfig::userCSS()); // -// // ====== load Settings on main classes -// historyManager()->loadSettings(); + // ====== load Settings on main classes + HistoryManager::self()->loadSettings(); // // defaultSettings = 0; // -- cgit v1.2.1