summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/mainwindow.h')
-rw-r--r--plugingui/mainwindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/mainwindow.h b/plugingui/mainwindow.h
index 8e2c8c4..9a9359c 100644
--- a/plugingui/mainwindow.h
+++ b/plugingui/mainwindow.h
@@ -36,6 +36,7 @@
#include "window.h"
#include "maintab.h"
#include "font.h"
+#include "pluginconfig.h"
namespace GUI
{
@@ -45,6 +46,7 @@ class MainWindow
{
public:
MainWindow(Settings& settings, void* native_window);
+ ~MainWindow();
//! Process all events and messages in queue
//! \return true if not closing, returns false if closing.
@@ -64,7 +66,7 @@ private:
TabWidget tabs{this};
- Settings& settings;
+ Config config;
SettingsNotifier settings_notifier;
MainTab main_tab;