Squish: Update to changed behavior when renaming

The bugreport I wrote about this was rated invalid
so now this is the expected behavior.

Change-Id: Ia187062552ad9d4857b5078d4c9c5dde4c8b7521
Task-number: QTCREATORBUG-14469
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Robert Loehning
2015-05-28 18:20:53 +02:00
parent 0879785839
commit a8cdf035ac

View File

@@ -55,12 +55,7 @@ def main():
previous = filenames[-1]
for filename in filenames:
tempFiletype = filetype
if previous in ("test", "TEST"):
if tempFiletype in ("Headers", "Sources", "QML"):
tempFiletype = "Sources"
else: # then it must be Resources
tempFiletype = "Other files"
elif filetype == "QML" and previous[-4:] != ".qml":
if previous in ("test", "TEST") or filetype == "QML" and previous[-4:] != ".qml":
tempFiletype = "Other files"
renameFile(templateDir, usedProFile, projectName + "." + tempFiletype,
previous, filename)