diff widgets/AudioDial.cpp @ 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 6969f21da18a
children 1fff998ae4a9
line wrap: on
line diff
--- 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;