an axis may now press a mouse button and fix many warnings

This commit is contained in:
Mathias Panzenböck
2014-01-31 02:38:47 +01:00
parent ca7da9dad6
commit 6fa91c4529
9 changed files with 78 additions and 30 deletions

View File

@ -102,7 +102,7 @@ void LayoutEdit::setLayout(QString layout) {
//change the text,
CLayouts->setCurrentIndex(lm->getLayoutNames().indexOf(layout));
//update all the JoyPadWidgets.
for (uint i = 0; i < available.count(); i++) {
for (int i = 0; i < available.count(); i++) {
((JoyPadWidget*)PadStack->widget(i))->update();
}
}