diff options
author | Owen Williams <owilliams@mixxx.org> | 2014-03-16 13:49:57 -0400 |
---|---|---|
committer | Owen Williams <owilliams@mixxx.org> | 2014-03-16 13:49:57 -0400 |
commit | 08713a296a9327e5658c5706da07bb665466b280 (patch) | |
tree | 9c040ae2e9821a91aaf53120101c849db1657094 /src/vinylcontrol/vinylcontrolmanager.cpp | |
parent | 514cbad1d5e43ef82a192a4e15d86b256257dd8c (diff) |
Show signal quality widgets if deck is configured, not just if it's enabled.
Diffstat (limited to 'src/vinylcontrol/vinylcontrolmanager.cpp')
-rw-r--r-- | src/vinylcontrol/vinylcontrolmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vinylcontrol/vinylcontrolmanager.cpp b/src/vinylcontrol/vinylcontrolmanager.cpp index 0375d8a1e1..bec4b46f73 100644 --- a/src/vinylcontrol/vinylcontrolmanager.cpp +++ b/src/vinylcontrol/vinylcontrolmanager.cpp @@ -88,7 +88,7 @@ void VinylControlManager::requestReloadConfig() { m_pProcessor->requestReloadConfig(); } -bool VinylControlManager::vinylInputEnabled(int deck) { +bool VinylControlManager::vinylInputConnected(int deck) { if (deck < 0 || deck >= m_iNumConfiguredDecks) { return false; } @@ -96,7 +96,7 @@ bool VinylControlManager::vinylInputEnabled(int deck) { qDebug() << "WARNING, tried to get vinyl enabled status for non-existant deck " << deck; return false; } - return m_pVcEnabled.at(deck)->get() != 0; + return m_pProcessor->deckConfigured(deck); } int VinylControlManager::vinylInputFromGroup(const QString& group) { |