@@ -36,10 +36,10 @@ QtObject {
38 /// Color used for text and symbolic icons
38 /// Color used for text and symbolic icons
39− readonly property color foreground: style && "foreground-color" in style ? style["foreground-color"] : d.defaultDark
39+ readonly property color foreground: "foreground-color" in style ? style["foreground-color"] : d.defaultDark
41 /// Color used for the overall background
41 /// Color used for the overall background
42− readonly property color background: style && "background-color" in style ? style["background-color"] : "transparent"
42+ readonly property color background: "background-color" in style ? style["background-color"] : "transparent"
44 /*! \brief Luminance threshold for switching between fore and background color
44 /*! \brief Luminance threshold for switching between fore and background color