diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-04-13 14:03:54 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-04-15 05:32:39 +0000 |
commit | 8ed4c6caf5fd464adf3c41192a97e47b48acb713 (patch) | |
tree | 61fcde6e5c8b850d499accd4b5d70e660f1b00eb /src/imports/controls/material/qquickmaterialstyle_p.h | |
parent | ed9720ffc6b462889e2f501824e9656a6ffde313 (diff) |
Add QQuickMaterialStyle::variantToRgba()
Extracted from setAccent() and setPrimary()
Change-Id: I2dff1d0f605cc210f6b86b5aa1a1f5ff284b20af
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
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 9cdf5bda..23e5750d 100644 --- a/src/imports/controls/material/qquickmaterialstyle_p.h +++ b/src/imports/controls/material/qquickmaterialstyle_p.h @@ -228,6 +228,7 @@ protected: private: void init(); + bool variantToRgba(const QVariant &var, const char *name, QRgb *rgba, bool *custom) const; bool m_explicitTheme; bool m_explicitPrimary; |