Mercurial > hg > svgui
diff widgets/LevelPanToolButton.cpp @ 1266:a34a2a25907c
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | 8ef67917c301 |
children | 1589bc7528b7 |
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.cpp Thu Mar 01 14:43:53 2018 +0000 +++ b/widgets/LevelPanToolButton.cpp Thu Mar 01 18:02:22 2018 +0000 @@ -141,10 +141,10 @@ LevelPanToolButton::selfLevelChanged(float level) { if (level > 0.f) { - m_muted = false; + m_muted = false; } else { - m_muted = true; - m_savedLevel = 1.f; + m_muted = true; + m_savedLevel = 1.f; } update(); } @@ -153,14 +153,14 @@ LevelPanToolButton::selfClicked() { if (m_muted) { - m_muted = false; - m_lpw->setLevel(m_savedLevel); - emit levelChanged(m_savedLevel); + m_muted = false; + m_lpw->setLevel(m_savedLevel); + emit levelChanged(m_savedLevel); } else { - m_savedLevel = m_lpw->getLevel(); - m_muted = true; - m_lpw->setLevel(0.f); - emit levelChanged(0.f); + m_savedLevel = m_lpw->getLevel(); + m_muted = true; + m_lpw->setLevel(0.f); + emit levelChanged(0.f); } update(); }