Mercurial > hg > svgui
comparison layer/TimeValueLayer.cpp @ 718:e5f4385615ac tony_integration
Merge from tonioni branch
author | Chris Cannam |
---|---|
date | Tue, 28 Jan 2014 15:02:09 +0000 |
parents | 137d3ff48f73 |
children | 15b5c679b909 |
comparison
equal
deleted
inserted
replaced
704:b81f21f2c4c3 | 718:e5f4385615ac |
---|---|
1228 } | 1228 } |
1229 | 1229 |
1230 void | 1230 void |
1231 TimeValueLayer::paintVerticalScale(View *v, bool, QPainter &paint, QRect) const | 1231 TimeValueLayer::paintVerticalScale(View *v, bool, QPainter &paint, QRect) const |
1232 { | 1232 { |
1233 if (!m_model) return; | 1233 if (!m_model || m_model->getPoints().empty()) return; |
1234 | 1234 |
1235 QString unit; | 1235 QString unit; |
1236 float min, max; | 1236 float min, max; |
1237 bool logarithmic; | 1237 bool logarithmic; |
1238 | 1238 |