Mercurial > hg > svcore
comparison data/model/IntervalModel.h @ 980:6e6da0636e5e tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 16:36:21 +0100 |
parents | bfe724787abf |
children | cc27f35aa75c |
comparison
equal
deleted
inserted
replaced
954:35b05cac32d0 | 980:6e6da0636e5e |
---|---|
104 | 104 |
105 PointType point(*i); | 105 PointType point(*i); |
106 command->deletePoint(point); | 106 command->deletePoint(point); |
107 | 107 |
108 switch (column) { | 108 switch (column) { |
109 case 0: case 1: point.frame = value.toInt(); break; | 109 // column cannot be 0 or 1, those cases were handled above |
110 case 2: point.value = value.toDouble(); break; | 110 case 2: point.value = value.toDouble(); break; |
111 case 3: point.duration = value.toInt(); break; | 111 case 3: point.duration = value.toInt(); break; |
112 } | 112 } |
113 | 113 |
114 command->addPoint(point); | 114 command->addPoint(point); |