From c1ad1be5924eb28bf6c32b049098fe24bbbb9e4e Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 19 Dec 2017 10:14:22 +0100 Subject: Bug fixes Switching between tabs should work properly now. Refactored MainWindowTabBar (was WebViewTabBar) --- src/browser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/browser.h') diff --git a/src/browser.h b/src/browser.h index a1557b4..89931e8 100644 --- a/src/browser.h +++ b/src/browser.h @@ -42,7 +42,7 @@ public: void setConfiguration(std::shared_ptr &config); void loadProfiles(); - WebEngineProfile *profile(const QString name); + std::shared_ptr profile(const QString name); // QStringList profiles(); // std::shared_ptr& bookmarks(); @@ -60,8 +60,8 @@ private: std::shared_ptr m_config; QVector m_windows; - QHash m_profiles; - WebEngineProfile* m_defaultProfile; + QHash> m_profiles; + std::shared_ptr m_defaultProfile; std::shared_ptr m_urlRequestInterceptor; std::shared_ptr m_bookmarksManager; -- cgit v1.2.1