Style fix for Qt gamepad config window button text.
This commit is contained in:
parent
cb0bc74fd4
commit
f7480c8560
|
@ -513,7 +513,7 @@ void GamePadConfDialog_t::updateCntrlrDpy(void)
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
//{
|
//{
|
||||||
// keyName[i]->setStyleSheet("color: black;");
|
// keyName[i]->setStyleSheet(NULL);
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -599,7 +599,7 @@ void GamePadConfDialog_t::changeButton(int padNo, int x)
|
||||||
DWaitButton(NULL, &GamePad[padNo].bmap[x], &buttonConfigStatus);
|
DWaitButton(NULL, &GamePad[padNo].bmap[x], &buttonConfigStatus);
|
||||||
|
|
||||||
button[x]->setText("Change");
|
button[x]->setText("Change");
|
||||||
button[x]->setStyleSheet("");
|
button[x]->setStyleSheet(NULL);
|
||||||
|
|
||||||
if (buttonConfigStatus != 0)
|
if (buttonConfigStatus != 0)
|
||||||
{
|
{
|
||||||
|
@ -996,7 +996,7 @@ void GamePadConfDialog_t::updatePeriodic(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
keyName[i]->setStyleSheet("color: black;");
|
keyName[i]->setStyleSheet(NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue