Commit a8cdf035 authored by Robert Loehning's avatar Robert Loehning

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: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 08797858
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment