Fix type error

Pushed a little too soon
This commit is contained in:
Myned 2020-06-09 17:14:22 -04:00
parent 66d847c047
commit 7347be370e
No known key found for this signature in database
GPG Key ID: BC58C09870A63E59

View File

@ -180,7 +180,7 @@ void SwitcherData::checkExeSwitch(bool &match, OBSWeakSource &scene,
bool focus = (!s.mInFocus || isInFocus(s.mExe));
// True if current window is ignored AND switch equals OR matches last window
bool ignore =
(ignored && (title == s.mExe ||
(ignored && (title == s.mExe.toStdString() ||
QString::fromStdString(title).contains(
QRegularExpression(s.mExe))));