From 6a73a4cbbfcd26c4d3a5706105782f3fcb5ebd60 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 21 Apr 2016 14:20:31 +0200 Subject: 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 --- src/quickcontrols2/qquickstyleselector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3