summaryrefslogtreecommitdiffstats
path: root/src/vinylcontrol
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2018-12-20 16:56:30 -0600
committerBe <be@mixxx.org>2018-12-20 16:56:30 -0600
commitf2e877978b6c665c49137ccf5ef9d6090c9b6d1f (patch)
treecaeb897346be54120164b7b54608883bca46a047 /src/vinylcontrol
parent9f672810810698e57e93a214078f6e2040143dca (diff)
parent291954e76d84496a14f4c104a0c82d0235c61d53 (diff)
Merge remote-tracking branch 'upstream/2.2'
Diffstat (limited to 'src/vinylcontrol')
-rw-r--r--src/vinylcontrol/vinylcontrol.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vinylcontrol/vinylcontrol.cpp b/src/vinylcontrol/vinylcontrol.cpp
index 9dffaf4a39..bc8275ee34 100644
--- a/src/vinylcontrol/vinylcontrol.cpp
+++ b/src/vinylcontrol/vinylcontrol.cpp
@@ -42,12 +42,6 @@ VinylControl::VinylControl(UserSettingsPointer pConfig, QString group)
//Enabled or not -- load from saved value in case vinyl control is restarting
m_bIsEnabled = wantenabled->get() > 0.0;
-
- // Load VC pre-amp gain from the config.
- // TODO(rryan): Should probably live in VinylControlManager since it's not
- // specific to a VC deck.
- ControlObject::set(ConfigKey(VINYL_PREF_KEY, "gain"),
- m_pConfig->getValueString(ConfigKey(VINYL_PREF_KEY,"gain")).toInt());
}
bool VinylControl::isEnabled() {