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/subwindow | |
parent | Add Session::view and Session::restoreView (diff) | |
download | smolbote-0b9cf8c968a89784b5c2b8afe1a819b33749165e.tar.xz |
Rewrite Session saving and loading
Diffstat (limited to 'src/subwindow')
-rw-r--r-- | src/subwindow/subwindow.cpp | 2 | ||||
-rw-r--r-- | src/subwindow/subwindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/subwindow/subwindow.cpp b/src/subwindow/subwindow.cpp index f718368..1006200 100644 --- a/src/subwindow/subwindow.cpp +++ b/src/subwindow/subwindow.cpp @@ -23,7 +23,7 @@ #include "profilemanager.h" #include "webprofile.h" -SubWindow::SubWindow(const std::unique_ptr<Configuration> &config, QWidget *parent, Qt::WindowFlags flags) +SubWindow::SubWindow(const Configuration *config, QWidget *parent, Qt::WindowFlags flags) : QMdiSubWindow(parent, flags) , tabWidget(new TabWidget(this)) { diff --git a/src/subwindow/subwindow.h b/src/subwindow/subwindow.h index 5dd17f2..3d70c98 100644 --- a/src/subwindow/subwindow.h +++ b/src/subwindow/subwindow.h @@ -22,7 +22,7 @@ class SubWindow : public QMdiSubWindow Q_OBJECT public: - explicit SubWindow(const std::unique_ptr<Configuration> &config, QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); + explicit SubWindow(const Configuration *config, QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); ~SubWindow() override; WebView *currentView(); |