Mercurial > hg > svgui
changeset 212:e554ab9a4408
* Make audio file reader factory try for a reader based on the file's
extension, before trying all readers
* Remove some debug output
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2007 12:15:08 +0000 |
parents | e2baee498ec8 |
children | df791d8c8f58 |
files | view/Pane.cpp widgets/AudioDial.cpp |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/view/Pane.cpp Thu Mar 01 11:55:46 2007 +0000 +++ b/view/Pane.cpp Thu Mar 01 12:15:08 2007 +0000 @@ -1615,8 +1615,8 @@ void Pane::zoomLevelChanged() { - std::cerr << "Pane[" << this << "]::zoomLevelChanged (global now " - << (m_manager ? m_manager->getGlobalZoom() : 0) << ")" << std::endl; +// std::cerr << "Pane[" << this << "]::zoomLevelChanged (global now " +// << (m_manager ? m_manager->getGlobalZoom() : 0) << ")" << std::endl; if (m_manager && m_manager->getZoomWheelsEnabled()) { updateHeadsUpDisplay();
--- a/widgets/AudioDial.cpp Thu Mar 01 11:55:46 2007 +0000 +++ b/widgets/AudioDial.cpp Thu Mar 01 12:15:08 2007 +0000 @@ -66,7 +66,7 @@ #define AUDIO_DIAL_RANGE (AUDIO_DIAL_MAX - AUDIO_DIAL_MIN) -static int dialsExtant = 0; +//static int dialsExtant = 0; // Constructor. @@ -82,7 +82,7 @@ { m_mouseDial = false; m_mousePressed = false; - ++dialsExtant; +// ++dialsExtant; } @@ -90,13 +90,13 @@ AudioDial::~AudioDial (void) { delete m_rangeMapper; - --dialsExtant; +// --dialsExtant; } void AudioDial::setRangeMapper(RangeMapper *mapper) { - std::cerr << "AudioDial[" << this << "][\"" << objectName().toStdString() << "\"::setRangeMapper(" << mapper << ") [current is " << m_rangeMapper << "] (have " << dialsExtant << " dials extant)" << std::endl; +// std::cerr << "AudioDial[" << this << "][\"" << objectName().toStdString() << "\"::setRangeMapper(" << mapper << ") [current is " << m_rangeMapper << "] (have " << dialsExtant << " dials extant)" << std::endl; if (m_rangeMapper == mapper) return;