changeset 7133 | 9f250f79cb79 |
parent 7131 | c0c787eb526e |
child 7145 | 1d1a14b39400 |
7131:c0c787eb526e | 7133:9f250f79cb79 |
---|---|
350 return colorsModel->item(m_color)->data().value<QColor>(); |
350 return colorsModel->item(m_color)->data().value<QColor>(); |
351 } |
351 } |
352 |
352 |
353 void HWTeam::setColor(int color) |
353 void HWTeam::setColor(int color) |
354 { |
354 { |
355 m_color = color; |
355 m_color = color % colorsModel->rowCount(); |
356 } |
356 } |
357 |
357 |
358 |
358 |
359 // binds |
359 // binds |
360 QString HWTeam::keyBind(unsigned int idx) const |
360 QString HWTeam::keyBind(unsigned int idx) const |