mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-06 07:36:12 -05:00
Merge pull request #2215 from jpark37/qpalette-enum-fix
UI: Rename deprecated QPalette::ColorRole
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user