comparison layer/RegionLayer.cpp @ 771:a964151832a7

Merge from branch tony_integration
author Chris Cannam
date Wed, 14 May 2014 09:54:34 +0100
parents 137d3ff48f73
children 1d526ba11a24
comparison
equal deleted inserted replaced
768:8b614632568c 771:a964151832a7
1067 } 1067 }
1068 1068
1069 void 1069 void
1070 RegionLayer::paintVerticalScale(View *v, bool, QPainter &paint, QRect) const 1070 RegionLayer::paintVerticalScale(View *v, bool, QPainter &paint, QRect) const
1071 { 1071 {
1072 if (!m_model) return; 1072 if (!m_model || m_model->getPoints().empty()) return;
1073 1073
1074 QString unit; 1074 QString unit;
1075 float min, max; 1075 float min, max;
1076 bool logarithmic; 1076 bool logarithmic;
1077 1077