diff options
Diffstat (limited to 'src/browser.h')
-rw-r--r-- | src/browser.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/browser.h b/src/browser.h index c16e495..b511b45 100644 --- a/src/browser.h +++ b/src/browser.h @@ -31,7 +31,6 @@ class Browser : public SingleApplication public: explicit Browser(int &argc, char *argv[]); ~Browser() final; - Q_DISABLE_COPY(Browser) public slots: void about(); @@ -47,12 +46,6 @@ public: return m_bookmarks; } - WebProfile *profile(const QString &name) const; - const QStringList profiles() const - { - return m_profiles.keys(); - } - signals: void registerProfile(WebProfile *profile); @@ -61,12 +54,13 @@ public slots: MainWindow *createWindow(); private: + Q_DISABLE_COPY(Browser) + std::shared_ptr<Configuration> m_config; std::shared_ptr<BookmarksWidget> m_bookmarks; std::shared_ptr<DownloadsWidget> m_downloads; std::shared_ptr<UrlRequestInterceptor> m_urlFilter; - QMap<QString, WebProfile *> m_profiles; QVector<MainWindow *> m_windows; QVector<Plugin> m_plugins; }; |