mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 10:40:39 +01:00
Qt: Fix display of LED colours on Windows native themes
This commit is contained in:
1 parent
fb18fdf5b7
commit
fd983946f5
1 file changed
+1
-1
@@ -29,7 +29,7 @@ void ColorPickerButton::setColor(u32 rgb)
|
||||
|
||||
void ColorPickerButton::updateBackgroundColor()
|
||||
{
|
||||
setStyleSheet(QStringLiteral("background-color: #%1;").arg(static_cast<uint>(m_color), 8, 16, QChar('0')));
|
||||
setStyleSheet(QStringLiteral("background-color: #%1;").arg(static_cast<uint>(m_color), 6, 16, QChar('0')));
|
||||
}
|
||||
|
||||
void ColorPickerButton::onClicked()
|
||||
|
||||
Reference in new issue
Block a user