From 5825451aef1a762bfaeff2d37c09b3790deee7b1 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 26 Jun 2018 19:51:52 +0200 Subject: Socket messages are json formatted --- src/mainwindow/subwindow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainwindow/subwindow.h') diff --git a/src/mainwindow/subwindow.h b/src/mainwindow/subwindow.h index d5f4f4c..e6d7177 100644 --- a/src/mainwindow/subwindow.h +++ b/src/mainwindow/subwindow.h @@ -28,6 +28,7 @@ public: WebView *view(int index) const; void setProfile(WebProfile *profile); + WebProfile *profile() const; QJsonObject session() const; @@ -40,7 +41,7 @@ public slots: void setCurrentTab(int index); private: - WebProfile *profile; + WebProfile *m_profile; TabWidget *tabWidget; QMetaObject::Connection titleConnection; -- cgit v1.2.1