diff options
Diffstat (limited to 'src/browser.cpp')
-rw-r--r-- | src/browser.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/browser.cpp b/src/browser.cpp index 4b49cbe..4697ac5 100644 --- a/src/browser.cpp +++ b/src/browser.cpp @@ -37,6 +37,7 @@ Browser::~Browser() qDeleteAll(m_windows); m_windows.clear(); + delete m_networkAccessManager; delete m_bookmarksManager; delete m_downloadManager; } @@ -88,6 +89,7 @@ bool Browser::preLaunch(QStringList urls) } } + m_networkAccessManager = new QNetworkAccessManager(); m_bookmarksManager = new BookmarksDialog; m_downloadManager = new DownloadDialog; @@ -106,6 +108,11 @@ Settings *Browser::settings() return m_settings; } +QNetworkAccessManager *Browser::network() +{ + return m_networkAccessManager; +} + BookmarksDialog *Browser::bookmarks() { return m_bookmarksManager; |