In clean_file_name_make_pretty() function: Do *not* simplify() file name, unless we actually perform at least one replacement.
This commit is contained in:
parent
2e958ece6a
commit
c4da219a1e
@ -598,11 +598,11 @@ static void clean_file_name_make_pretty(QString &str)
|
||||
str.replace(iter->first, iter->second);
|
||||
if (str.compare(prev))
|
||||
{
|
||||
str = str.simplified();
|
||||
keepOnGoing = !str.isEmpty();
|
||||
break;
|
||||
}
|
||||
}
|
||||
str = str.simplified();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user