diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-09-02 11:51:58 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-09-02 13:09:03 +0000 |
commit | 470c222196d4d1d21d1d80b550f632c030e9b651 (patch) | |
tree | e35db0eaaa6a1377ee5231f67234288ae9bce01e /src/imports/controls/universal/universal.pri | |
parent | 58326f2bc3bceafc0054e790832e0a77db340606 (diff) |
Fix style name casing
When QQuickStyle looks up the appropriate folder where the specified
style exists, it also fixes up the casing of the style name to match
what is on the file system. For example, "material" becomes "Material".
Since 54480f3, QtQuickControls2Plugin initializes the default style
path so QQuickStyle no longer has to create a temporary QQmlEngine to
be able to lookup styles in one of the import paths. It still needs
to fixup the casing of the style name to ensure that "-style material"
and QT_QUICK_CONTROLS_STYLE=material work.
Change-Id: If35b870bb335e024b94fb328a927a5550b51cba1
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/universal/universal.pri')
0 files changed, 0 insertions, 0 deletions