summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugingui/maintab.cc9
-rw-r--r--plugingui/maintab.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/plugingui/maintab.cc b/plugingui/maintab.cc
index 49035d8..54a22d5 100644
--- a/plugingui/maintab.cc
+++ b/plugingui/maintab.cc
@@ -76,10 +76,6 @@ MainTab::MainTab(Widget* parent,
&humanizer_frame, &FrameWidget::setOnSwitch);
CONNECT(&humanizer_frame, onSwitchChangeNotifier,
this, &MainTab::humanizerOnChange);
- CONNECT(this, settings_notifier.disk_cache_enable,
- &diskstreaming_frame, &FrameWidget::setOnSwitch);
- CONNECT(&diskstreaming_frame, onSwitchChangeNotifier,
- this, &MainTab::diskStreamingOnChange);
}
void MainTab::resize(std::size_t width, std::size_t height)
@@ -96,9 +92,4 @@ void MainTab::humanizerOnChange(bool on)
settings.enable_velocity_modifier.store(on);
}
-void MainTab::diskStreamingOnChange(bool on)
-{
- settings.disk_cache_enable.store(on);
-}
-
} // GUI::
diff --git a/plugingui/maintab.h b/plugingui/maintab.h
index 358871d..62b3f82 100644
--- a/plugingui/maintab.h
+++ b/plugingui/maintab.h
@@ -55,7 +55,6 @@ public:
private:
void humanizerOnChange(bool on);
- void diskStreamingOnChange(bool on);
Image logo{":resources/logo.png"};