updated some casts and warnings

This commit is contained in:
itsmattkc
2019-01-12 13:29:10 +11:00
parent a8e37ac76a
commit 6c31e458f7
5 changed files with 44 additions and 37 deletions
+2 -1
View File
@@ -221,7 +221,8 @@ void GraphView::paintEvent(QPaintEvent *) {
// sort keyframes by time
QVector<int> sorted_keys = sort_keys_from_field(field);
int last_key_x, last_key_y;
int last_key_x = 0;
int last_key_y = 0;
// draw lines
for (int j=0;j<sorted_keys.size();j++) {