From 7347be370e855017389b295e266c97a850937b8d Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 9 Jun 2020 17:14:22 -0400 Subject: [PATCH] Fix type error Pushed a little too soon --- src/executable-switch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/executable-switch.cpp b/src/executable-switch.cpp index 512be7f3..0aac4418 100644 --- a/src/executable-switch.cpp +++ b/src/executable-switch.cpp @@ -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))));