Mercurial > hg > svgui
changeset 219:1fff998ae4a9
* Fix failure to update mapped value when setValue is called
author | Chris Cannam |
---|---|
date | Mon, 05 Mar 2007 13:01:14 +0000 |
parents | 21a5e4e7cb92 |
children | 8dc50f57d480 |
files | widgets/AudioDial.cpp widgets/AudioDial.h |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/widgets/AudioDial.cpp Mon Mar 05 12:00:32 2007 +0000 +++ b/widgets/AudioDial.cpp Mon Mar 05 13:01:14 2007 +0000 @@ -337,6 +337,13 @@ } +void AudioDial::setValue(int value) +{ + QDial::setValue(value); + updateMappedValue(value); +} + + void AudioDial::setMappedValue(float mappedValue) { if (m_rangeMapper) {