From e3c605a796b6f09c6b38a206fd110992ff5d1e4c Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 28 Sep 2018 16:15:01 +0200 Subject: breakpad: try to write session on crash --- src/browser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/browser.h') diff --git a/src/browser.h b/src/browser.h index c82afa0..694a3a7 100644 --- a/src/browser.h +++ b/src/browser.h @@ -15,6 +15,7 @@ #include #include #include +#include "session.h" QVector loadPlugins(const QString &location); @@ -48,9 +49,8 @@ public: void setup(const QString &defaultProfile); - std::shared_ptr bookmarks() - { - return m_bookmarks; + QJsonObject session() const { + return JsonSession::session(m_windows); } public slots: -- cgit v1.2.1