Cleanup / style changes

This commit is contained in:
WarmUpTill
2026-04-07 22:39:24 +02:00
committed by WarmUpTill
parent 99629e8c66
commit 1483f9d9dc
12 changed files with 71 additions and 134 deletions

View File

@@ -230,8 +230,7 @@ bool SwitcherData::checkWindowTitleSwitch(OBSWeakSource &scene,
std::string currentWindowTitle = switcher->currentTitle;
bool match = false;
std::vector<std::string> windowList;
GetWindowList(windowList);
const auto windowList = GetWindowList();
for (WindowSwitch &s : windowSwitches) {
if (!s.initialized()) {