Mercurial > hg > svcore
comparison data/model/SparseTimeValueModel.h @ 1038:cc27f35aa75c cxx11
Introducing the signed 64-bit frame index type, and fixing build failures from inclusion of -Wconversion with -Werror. Not finished yet.
author | Chris Cannam |
---|---|
date | Tue, 03 Mar 2015 15:18:24 +0000 |
parents | ad14e7ed096d |
children | a1cd5abcb38b |
comparison
equal
deleted
inserted
replaced
1037:bf0e5944289b | 1038:cc27f35aa75c |
---|---|
166 | 166 |
167 Point point(*i); | 167 Point point(*i); |
168 command->deletePoint(point); | 168 command->deletePoint(point); |
169 | 169 |
170 switch (column) { | 170 switch (column) { |
171 case 2: point.value = value.toDouble(); break; | 171 case 2: point.value = float(value.toDouble()); break; |
172 case 3: point.label = value.toString(); break; | 172 case 3: point.label = value.toString(); break; |
173 } | 173 } |
174 | 174 |
175 command->addPoint(point); | 175 command->addPoint(point); |
176 return command->finish(); | 176 return command->finish(); |