summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();