diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-11-28 12:39:14 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-11-28 12:39:14 +0100 |
commit | 0b9cf8c968a89784b5c2b8afe1a819b33749165e (patch) | |
tree | 7153fc8fe5447ee710ce689352db6e0e3b8849cc /src/browser.cpp | |
parent | Add Session::view and Session::restoreView (diff) | |
download | smolbote-0b9cf8c968a89784b5c2b8afe1a819b33749165e.tar.xz |
Rewrite Session saving and loading
Diffstat (limited to 'src/browser.cpp')
-rw-r--r-- | src/browser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browser.cpp b/src/browser.cpp index 7130096..0a0bd91 100644 --- a/src/browser.cpp +++ b/src/browser.cpp @@ -221,7 +221,7 @@ void Browser::createSession(const QJsonObject &object) } } if(window == nullptr) - window = mainwindow->createSubWindow(m_config, profile); + window = mainwindow->createSubWindow(m_config.get(), profile); const QJsonArray tabs = subwindow.value("tabs").toArray(); if(tabs.isEmpty()) |