diff options
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(); |