summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-09 14:47:59 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-12 11:13:51 +0200
commit873a12d313541e6c82ec9995473bb6f43e7667e8 (patch)
treed035f57b67c10bb87eeffecccaeb8cf72d87386d /plugingui
parent2da458423c1fa95d3000d94105f215c6a603094b (diff)
Fix BSD build.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/drumkittab.cc8
-rw-r--r--plugingui/drumkittab.h8
-rw-r--r--plugingui/mainwindow.cc2
3 files changed, 9 insertions, 9 deletions
diff --git a/plugingui/drumkittab.cc b/plugingui/drumkittab.cc
index 3f6cd5f..91fc801 100644
--- a/plugingui/drumkittab.cc
+++ b/plugingui/drumkittab.cc
@@ -37,13 +37,13 @@ namespace GUI
{
DrumkitTab::DrumkitTab(Widget* parent,
- Settings& settings,
+ Settings& settings/*,
SettingsNotifier& settings_notifier,
- Config& config)
+ Config& config*/)
: Widget(parent)
, settings(settings)
- , settings_notifier(settings_notifier)
- , config(config)
+ /*, settings_notifier(settings_notifier)
+ , config(config)*/
{
loadImageFiles("/home/chaot/Programming/drumgizmo/crocellkit01.png", "/home/chaot/Programming/drumgizmo/crocellkit01_map.png");
diff --git a/plugingui/drumkittab.h b/plugingui/drumkittab.h
index 1a0eb7a..c53d3f5 100644
--- a/plugingui/drumkittab.h
+++ b/plugingui/drumkittab.h
@@ -46,9 +46,9 @@ class DrumkitTab
{
public:
DrumkitTab(Widget* parent,
- Settings& settings,
+ Settings& settings/*,
SettingsNotifier& settings_notifier,
- Config& config);
+ Config& config*/);
// From Widget:
void resize(std::size_t width, std::size_t height) override;
@@ -65,8 +65,8 @@ private:
Label velocity_label{this};
Settings& settings;
- SettingsNotifier& settings_notifier;
- Config& config;
+ // SettingsNotifier& settings_notifier;
+ // Config& config;
void triggerAudition(int x, int y);
void updateVelocityLabel();
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc
index 944eb71..d2092cc 100644
--- a/plugingui/mainwindow.cc
+++ b/plugingui/mainwindow.cc
@@ -39,7 +39,7 @@ MainWindow::MainWindow(Settings& settings, void* native_window)
: Window(native_window)
, settings_notifier(settings)
, main_tab(this, settings, settings_notifier, config)
- , drumkit_tab(this, settings, settings_notifier, config)
+ , drumkit_tab(this, settings)
{
config.load();