aboutsummaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.cpp b/src/session.cpp
index 0781cd7..414e8aa 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -25,13 +25,13 @@ QJsonObject Session::toJsonObject(MainWindow *window)
QJsonArray subwindows;
for(const SubWindow *subwindow : window->subWindows()) {
QJsonObject window;
- window.insert("profile", ProfileManager::id(subwindow->profile()));
+ window.insert("profile", profileManager->id(subwindow->profile()));
QJsonArray tabs;
for(int i = 0; i < subwindow->tabCount(); ++i) {
QJsonObject tab;
tab.insert("url", subwindow->view(i)->url().toString());
- tab.insert("profile", ProfileManager::id(subwindow->view(i)->profile()));
+ tab.insert("profile", profileManager->id(subwindow->view(i)->profile()));
tabs.append(tab);
}
window.insert("tabs", tabs);