Replace QRegExp usage for better Qt6 compatibility.
Motivation and Context
The existing QRegExp usages are just doing basic string matching to remove filename extensions. QRegExp was removed in Qt6, so let's just use QString for this functionality instead.
How Has This Been Tested?
I don't have any VSTs installed on my system, so I haven't tested this. I'll need someone else to make sure that this change is acceptable.
Types of changes
Bug fix (non-breaking change which fixes an issue)
Code cleanup (non-breaking change which makes code smaller or more readable)
It may be worth noting that the original functionality might have been case-sensitive, while the code I wrote here is case-insensitive. I don't know what is preferable.
Description
Replace QRegExp usage for better Qt6 compatibility.
Motivation and Context
The existing QRegExp usages are just doing basic string matching to remove filename extensions. QRegExp was removed in Qt6, so let's just use QString for this functionality instead.
How Has This Been Tested?
I don't have any VSTs installed on my system, so I haven't tested this. I'll need someone else to make sure that this change is acceptable.
Types of changes
Checklist: