comparison layer/RegionLayer.cpp @ 718:e5f4385615ac tony_integration

Merge from tonioni branch
author Chris Cannam
date Tue, 28 Jan 2014 15:02:09 +0000
parents 137d3ff48f73
children 1d526ba11a24
comparison
equal deleted inserted replaced
704:b81f21f2c4c3 718:e5f4385615ac
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