From 21552196c529cdc4e7112d2f09a80ab81c71207a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 24 Feb 2017 02:06:20 +0100 Subject: Settings class rework Using toml as format --- src/browser.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/browser.h') diff --git a/src/browser.h b/src/browser.h index 3d3b297..0a6702f 100644 --- a/src/browser.h +++ b/src/browser.h @@ -26,6 +26,9 @@ #include "forms/bookmarksdialog.h" #include "forms/downloaddialog.h" #include +#include "settings.h" + +#define sSettings Browser::instance()->settings() class MainWindow; class Browser : public QApplication @@ -41,6 +44,7 @@ public: static Browser *instance(); + Settings *settings(); BookmarksDialog *bookmarks(); DownloadDialog *downloads(); @@ -55,6 +59,7 @@ private slots: void handleNewConnection(); private: + Settings *m_settings; QLocalServer *m_localServer; QVector m_windows; BookmarksDialog *m_bookmarksManager; -- cgit v1.2.1