From 873a12d313541e6c82ec9995473bb6f43e7667e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sat, 9 Jun 2018 14:47:59 +0200 Subject: Fix BSD build. --- plugingui/drumkittab.cc | 8 ++++---- plugingui/drumkittab.h | 8 ++++---- plugingui/mainwindow.cc | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'plugingui') 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(); -- cgit v1.2.3