Mercurial > hg > svcore
diff data/model/PathModel.h @ 929:59e7fe1b1003 warnfix_no_size_t
Unsigned removals and warning fixes in data/
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 14:33:42 +0100 |
parents | f5e8f12d2e58 |
children | a1cd5abcb38b |
line wrap: on
line diff
--- a/data/model/PathModel.h Tue Jun 17 13:52:07 2014 +0100 +++ b/data/model/PathModel.h Tue Jun 17 14:33:42 2014 +0100 @@ -43,7 +43,7 @@ } QString toDelimitedDataString(QString delimiter, - size_t sampleRate) const { + int sampleRate) const { QStringList list; list << RealTime::frame2RealTime(frame, sampleRate).toString().c_str(); list << QString("%1").arg(mapframe); @@ -67,7 +67,7 @@ class PathModel : public SparseModel<PathPoint> { public: - PathModel(size_t sampleRate, size_t resolution, bool notify = true) : + PathModel(int sampleRate, int resolution, bool notify = true) : SparseModel<PathPoint>(sampleRate, resolution, notify) { } virtual void toXml(QTextStream &out,