obsproject / obs-vst

Use VST plugins in OBS
GNU General Public License v2.0
181 stars 56 forks source link

Replace QRegExp usage for better Qt6 compatibility #71

Closed RytoEX closed 3 years ago

RytoEX commented 3 years ago

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:

RytoEX commented 3 years ago

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.