diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-23 18:25:07 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-23 18:25:07 +0200 |
commit | 7e811d0a92ed8a89ef01531a7e7826692f4898e5 (patch) | |
tree | eca0d8b8eb86c4c24400b62d9603e65f226bf47e | |
parent | 15ee8a4f847b5a98230bee928fb19eafe458f5ae (diff) |
Remove leftovers from the diskstreaming frame powerbutton removal.
-rw-r--r-- | plugingui/maintab.cc | 9 | ||||
-rw-r--r-- | plugingui/maintab.h | 1 |
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"}; |