Remove obsolete duplicate QPalette::ColorRole entries.

Background and Foreground are obsolete and are replaced by Window and
WindowText, according to [1].  They also cause warnings because Hoppy doesn't
yet support multiple enum entries sharing a value[2].  So let's drop the
obsolete entries.

[1] https://doc.qt.io/qt-5/qpalette.html#ColorRole-enum
[2] hoppy#7
parent c101f609
......@@ -46,9 +46,7 @@ exports =
e_ColorRole =
makeQtEnum (ident1 "QPalette" "ColorRole") qPaletteInclude
[ (10, ["window"])
, (10, ["background"])
, (0, ["window", "text"])
, (0, ["foreground"])
, (9, ["base"])
, (16, ["alternate", "base"])
, (18, ["tool", "tip", "base"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment