diff layer/WaveformLayer.cpp @ 2:77dad696d740

* Add some tool icons (mostly nabbed from the Gimp) * Minor fixes
author Chris Cannam
date Tue, 10 Jan 2006 17:37:43 +0000
parents 2a4f26e85b4c
children ce747045a023
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp	Tue Jan 10 17:04:02 2006 +0000
+++ b/layer/WaveformLayer.cpp	Tue Jan 10 17:37:43 2006 +0000
@@ -336,11 +336,11 @@
     long startFrame = m_view->getStartFrame();
     int zoomLevel = m_view->getZoomLevel();
 
-
+#ifdef DEBUG_WAVEFORM_PAINT
     Profiler profiler("WaveformLayer::paint", true);
     std::cerr << "WaveformLayer::paint (" << rect.x() << "," << rect.y()
 	      << ") [" << rect.width() << "x" << rect.height() << "]: zoom " << zoomLevel << ", start " << startFrame << std::endl;
-
+#endif
 
     size_t channels = 0, minChannel = 0, maxChannel = 0;
     bool mergingChannels = false;