diff options
author | Nikita Krupenko <krnekit@gmail.com> | 2016-05-06 00:09:42 +0300 |
---|---|---|
committer | Nikita Krupenko <krnekit@gmail.com> | 2016-05-09 12:29:34 +0000 |
commit | 71b9ec9d4a97e3eb2e7ec8e2fea79622652be495 (patch) | |
tree | eb633a7e85cf1121ac8b3d1e26c3b8cc90f6a1cf /src/imports/controls/material/qquickmaterialstyle_p.h | |
parent | f6aed94ff0e134fe6bd2309aa5d23fa1c6250305 (diff) |
Material: use proper shade for light and dark theme
Change-Id: I2c93887890113a0ba37ce967349458c4b296a9ed
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/material/qquickmaterialstyle_p.h')
-rw-r--r-- | src/imports/controls/material/qquickmaterialstyle_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/material/qquickmaterialstyle_p.h b/src/imports/controls/material/qquickmaterialstyle_p.h index ce89cc46..07870f48 100644 --- a/src/imports/controls/material/qquickmaterialstyle_p.h +++ b/src/imports/controls/material/qquickmaterialstyle_p.h @@ -255,6 +255,7 @@ private: QColor backgroundColor(Shade shade) const; QColor accentColor(Shade shade) const; QColor buttonColor(bool highlighted, bool pressed, bool hover) const; + Shade themeShade() const; bool m_explicitTheme; bool m_explicitPrimary; |