uic: Add #ifdef depending on Qt version for QPalette::Accent
Complements 17c589df94a2245ee92d45839c2cba73566d7310. Pick-to: 6.9 6.8 Fixes: QTBUG-133651 Change-Id: Ieb57df30863f8493cd170d80220ae09177842ede Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
parent
5ffb9d7ae6
commit
1832ac4d25
@ -2043,6 +2043,8 @@ static inline QVersionNumber colorRoleVersionAdded(const QString &roleName)
|
||||
{
|
||||
if (roleName == "PlaceholderText"_L1)
|
||||
return {5, 12, 0};
|
||||
if (roleName == "Accent"_L1)
|
||||
return {6, 6, 0};
|
||||
return {};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user