aboutsummaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp
index 70e1deb..3c40a2a 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -13,7 +13,7 @@
#include <QJsonArray>
#include "webengine/webview.h"
#include <web/profilemanager.h>
-
+#include "browser.h"
QJsonObject Session::session(QVector<MainWindow *> windows)
{
@@ -31,6 +31,7 @@ QJsonObject Session::session(QVector<MainWindow *> windows)
QJsonObject Session::window(const MainWindow *window)
{
QJsonObject obj;
+ auto *profileManager = dynamic_cast<Browser *>(qApp)->getProfileManager();
QJsonArray subwindows;
for(const SubWindow *subwindow : window->subWindows()) {