From f3b6ecf0983dbb85a61faee21f41160df63cc575 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 21 Feb 2017 16:40:25 +0100 Subject: Single instance --- src/mainwindow.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index a93935b..0c1f659 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -45,6 +45,8 @@ public: MainWindow(const QStringList urlList, QWidget *parent = 0); ~MainWindow(); + void loadProfile(const QString &name); + public slots: void addNewTab(const QUrl &url = QUrl("")); @@ -54,7 +56,6 @@ protected: private slots: void about(); - void loadProfile(const QString &name); void loadProfileGUI(); void execProfileEditor(); @@ -65,9 +66,7 @@ private slots: private: BlockerDialog *blocklistManager; - - QString profileName; - WebEngineProfile *profile = nullptr; + WebEngineProfile *m_profile = nullptr; // ui Ui::MainWindow *ui; -- cgit v1.2.1