From 7e811d0a92ed8a89ef01531a7e7826692f4898e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sun, 23 Apr 2017 18:25:07 +0200 Subject: Remove leftovers from the diskstreaming frame powerbutton removal. --- plugingui/maintab.cc | 9 --------- plugingui/maintab.h | 1 - 2 files changed, 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"}; -- cgit v1.2.3