summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-05-05 13:03:36 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-05-05 13:03:36 +0200
commitd28efb1a504ffbc7ba151a497c20f3063a06077a (patch)
tree7e9176391f8b995390bc4f3489267a02f2af5ebc /src/mainwindow.h
parent53905b78f479d8d9d42a8bd6336314031814e52a (diff)
Move handling of settings and locale to their own classes.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 265ab31..d1794b6 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -46,6 +46,8 @@
#include "zoomslider.h"
#include "canvaswidget.h"
+class Settings;
+
class Preset
{
public:
@@ -61,7 +63,7 @@ class MainWindow
{
Q_OBJECT
public:
- MainWindow();
+ MainWindow(Settings& settings);
~MainWindow();
public slots:
@@ -120,4 +122,6 @@ private:
Selections selections;
Selections selections_preview;
Player player;
+
+ Settings& settings;
};