comparison layer/FlexiNoteLayer.cpp @ 824:22fe9bcb7206 tonioni

compile fix
author Chris Cannam
date Fri, 18 Jul 2014 11:07:13 +0100
parents a9731b49745a
children 5d4e3e36945f
comparison
equal deleted inserted replaced
822:d974ed657176 824:22fe9bcb7206
795 int sampleRate = m_model->getSampleRate(); 795 int sampleRate = m_model->getSampleRate();
796 if (!sampleRate) return; 796 if (!sampleRate) return;
797 797
798 // Profiler profiler("FlexiNoteLayer::paint", true); 798 // Profiler profiler("FlexiNoteLayer::paint", true);
799 799
800 int x0 = rect.left(), x1 = rect.right(); 800 int x1 = rect.right();
801 int frame0 = v->getFrameForX(x0);
802 int frame1 = v->getFrameForX(x1); 801 int frame1 = v->getFrameForX(x1);
803 802
804 FlexiNoteModel::PointList points(m_model->getPoints(0, frame1)); 803 FlexiNoteModel::PointList points(m_model->getPoints(0, frame1));
805 if (points.empty()) return; 804 if (points.empty()) return;
806 805