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.h | |
parent | Add Session::view and Session::restoreView (diff) | |
download | smolbote-0b9cf8c968a89784b5c2b8afe1a819b33749165e.tar.xz |
Rewrite Session saving and loading
Diffstat (limited to 'src/browser.h')
-rw-r--r-- | src/browser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/browser.h b/src/browser.h index 1989631..5a6404b 100644 --- a/src/browser.h +++ b/src/browser.h @@ -53,6 +53,10 @@ public: void setup(QVector<QPluginLoader *> plugins); + const QVector<MainWindow *> windows() const + { + return qAsConst(m_windows); + } QJsonObject session() const { return Session::session(m_windows); |