Mercurial > hg > svgui
comparison layer/RegionLayer.cpp @ 909:251dd0abc7b7 cxx11
More type fixes. We now build with -Wconversion, on this platform (64-bit Linux) at least.
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 17:23:45 +0000 |
parents | b66fb15de477 |
children | 94e4952a6774 3871dffc31bd |
comparison
equal
deleted
inserted
replaced
908:4a578a360011 | 909:251dd0abc7b7 |
---|---|
369 | 369 |
370 return true; | 370 return true; |
371 } | 371 } |
372 | 372 |
373 QString | 373 QString |
374 RegionLayer::getLabelPreceding(int frame) const | 374 RegionLayer::getLabelPreceding(sv_frame_t frame) const |
375 { | 375 { |
376 if (!m_model) return ""; | 376 if (!m_model) return ""; |
377 RegionModel::PointList points = m_model->getPreviousPoints(frame); | 377 RegionModel::PointList points = m_model->getPreviousPoints(frame); |
378 for (RegionModel::PointList::const_iterator i = points.begin(); | 378 for (RegionModel::PointList::const_iterator i = points.begin(); |
379 i != points.end(); ++i) { | 379 i != points.end(); ++i) { |