summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2011-09-30 11:01:37 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2011-09-30 11:52:33 (GMT)
commitb4fb55db3939219e976d53c32b42bf28acaa41b1 (patch)
treeee090bcbabc687834001120559d5e097168aaa5c /qmake
parent6570a4612ebf128a140c0ed66ac83bfaf9670b44 (diff)
downloadQt-b4fb55db3939219e976d53c32b42bf28acaa41b1.zip
Qt-b4fb55db3939219e976d53c32b42bf28acaa41b1.tar.gz
Qt-b4fb55db3939219e976d53c32b42bf28acaa41b1.tar.bz2
Symbian: Parse ts filenames case-insensitively for localize_deployment
A lot of platform applications have all-lowercase translation files due to file naming policies. This makes no difference for runtime translation, so removed unnecessary case sensitivity when parsing ts filenames for localization deployment. Task-number: QT-5305 Reviewed-by: Sami Merila
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/symbian/symbiancommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/generators/symbian/symbiancommon.cpp b/qmake/generators/symbian/symbiancommon.cpp
index 2c4373a..8db82d6 100644
--- a/qmake/generators/symbian/symbiancommon.cpp
+++ b/qmake/generators/symbian/symbiancommon.cpp
@@ -850,6 +850,7 @@ void SymbianCommonGenerator::parseTsFiles(SymbianLocalizationList *symbianLocali
foreach (QString file, symbianTsFiles) {
QRegExp matcher(matchStr);
+ matcher.setCaseSensitivity(Qt::CaseInsensitive);
if (matcher.exactMatch(file) && parseTsContent(file, &loc))
break;
}