UI: Rename deprecated QPalette::ColorRole
This commit is contained in:
parent
c8ab8aec4a
commit
975513679b
@ -192,7 +192,7 @@ void RemuxEntryPathItemDelegate::paint(QPainter *painter,
|
||||
if (state != Ready) {
|
||||
QColor background = localOption.palette.color(
|
||||
QPalette::ColorGroup::Disabled,
|
||||
QPalette::ColorRole::Background);
|
||||
QPalette::ColorRole::Window);
|
||||
|
||||
localOption.backgroundBrush = QBrush(background);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user