aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-04-21 14:20:31 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-04-21 15:48:01 +0000
commit6a73a4cbbfcd26c4d3a5706105782f3fcb5ebd60 (patch)
tree0d49ea47749a6880aa4c74b8340ed84f105863c3 /src/quickcontrols2
parent5047b7162ff3129749d6d736e6900eaf61f74bfe (diff)
QQuickStyleSelector: don't force lowercase style name
We'll have to also implement case-insensitive style lookup later. For now, this is required to be able to rename the imports, because the styles will reside in folders called "Material" and "Universal" instead of "material" and "universal" as they were before. Change-Id: I71edf1d447d78440a79241e53cb674f85b872078 Task-number: QTBUG-52549 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quickcontrols2')
-rw-r--r--src/quickcontrols2/qquickstyleselector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickcontrols2/qquickstyleselector.cpp b/src/quickcontrols2/qquickstyleselector.cpp
index f4dc068c..6484da06 100644
--- a/src/quickcontrols2/qquickstyleselector.cpp
+++ b/src/quickcontrols2/qquickstyleselector.cpp
@@ -95,7 +95,7 @@ static QStringList allSelectors(bool includeStyle)
if (includeStyle) {
QString style = QQuickStyle::name();
if (!style.isEmpty())
- selectors.prepend(style.toLower());
+ selectors.prepend(style);
}
return selectors;
}