Mercurial > hg > svgui
comparison layer/TimeRulerLayer.cpp @ 810:b68af2be4545 tonioni
Merge from branch warnfix_no_size_t
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 13:42:25 +0100 |
parents | 1d526ba11a24 |
children | 44acc0e5e004 |
comparison
equal
deleted
inserted
replaced
802:584b11df8e4f | 810:b68af2be4545 |
---|---|
48 emit modelReplaced(); | 48 emit modelReplaced(); |
49 } | 49 } |
50 | 50 |
51 bool | 51 bool |
52 TimeRulerLayer::snapToFeatureFrame(View *v, int &frame, | 52 TimeRulerLayer::snapToFeatureFrame(View *v, int &frame, |
53 size_t &resolution, SnapType snap) const | 53 int &resolution, SnapType snap) const |
54 { | 54 { |
55 if (!m_model) { | 55 if (!m_model) { |
56 resolution = 1; | 56 resolution = 1; |
57 return false; | 57 return false; |
58 } | 58 } |