diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-18 11:27:03 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-18 11:27:03 +0100 |
commit | a8eb882b2bdeb39f810b2d9e5dff3be5a3c330c7 (patch) | |
tree | 0a0b35dc4661e4dc2c35e629b4f15f76e4e8b6bc /src/application.cpp | |
parent | Merge commit 'refs/merge-requests/2106' of git://gitorious.org/rekonq/mainlin... (diff) | |
parent | KIO download system (diff) | |
download | rekonq-a8eb882b2bdeb39f810b2d9e5dff3be5a3c330c7.tar.xz |
FIxing conflicts
Merge branch 'rekonq04' into dev04try
Conflicts:
src/CMakeLists.txt
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/application.cpp b/src/application.cpp index 66a7d3e5..d02e44c9 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -35,9 +35,7 @@ // Local Includes #include "mainwindow.h" -#include "cookiejar.h" #include "history.h" -#include "networkaccessmanager.h" #include "mainview.h" #include "webview.h" #include "urlbar.h" @@ -61,7 +59,6 @@ QPointer<HistoryManager> Application::s_historyManager; -QPointer<NetworkAccessManager> Application::s_networkAccessManager; QPointer<BookmarkProvider> Application::s_bookmarkProvider; QPointer<SessionManager> Application::s_sessionManager; @@ -77,7 +74,6 @@ Application::~Application() { qDeleteAll(m_mainWindows); delete s_bookmarkProvider; - delete s_networkAccessManager; delete s_historyManager; } @@ -209,23 +205,6 @@ MainWindow *Application::mainWindow() } -CookieJar *Application::cookieJar() -{ - return (CookieJar *)networkAccessManager()->cookieJar(); -} - - -NetworkAccessManager *Application::networkAccessManager() -{ - if (!s_networkAccessManager) - { - s_networkAccessManager = new NetworkAccessManager(); - s_networkAccessManager->setCookieJar(new CookieJar); - } - return s_networkAccessManager; -} - - HistoryManager *Application::historyManager() { if (!s_historyManager) |