Mercurial > hg > svgui
comparison layer/TimeRulerLayer.cpp @ 805:1d526ba11a24 warnfix_no_size_t
Remove size_t's and fix warnings in layer/
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:18:06 +0100 |
parents | 1a0dfcbffaf1 |
children | 44acc0e5e004 |
comparison
equal
deleted
inserted
replaced
782:ddae586bc47b | 805:1d526ba11a24 |
---|---|
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 } |