From 127598db8a2de1812f069c2b63c7584441dbdf91 Mon Sep 17 00:00:00 2001 From: fanway <23499543+fanway@users.noreply.github.com> Date: Sat, 30 Jan 2021 15:11:08 +0300 Subject: [PATCH] Add automatic streamer mode detection to macOS (#2376) --- CHANGELOG.md | 2 +- src/util/StreamerMode.cpp | 2 +- src/widgets/settingspages/GeneralPage.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f8f7feb..c58562d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - Major: Added clip creation support. You can create clips with `/clip` command, `Alt+X` keybind or `Create a clip` option in split header's context menu. This requires a new authentication scope so re-authentication will be required to use it. (#2271, #2377) - Major: Added "Channel Filters". See https://wiki.chatterino.com/Filters/ for how they work or how to configure them. (#1748, #2083, #2090, #2200) -- Major: Added Streamer Mode configuration (under `Settings -> General`), where you can select which features of Chatterino should behave differently when you are in Streamer Mode. (#2001, #2316, #2342) +- Major: Added Streamer Mode configuration (under `Settings -> General`), where you can select which features of Chatterino should behave differently when you are in Streamer Mode. (#2001, #2316, #2342, #2376) - Major: Color mentions to match the mentioned users. You can disable this by unchecking "Color @usernames" under `Settings -> General -> Advanced (misc.)`. (#1963, #2284) - Minor: Added `/chatters` command showing chatter count. (#2344) - Minor: Added a button to the split context menu to open the moderation view for a channel when the account selected has moderator permissions. (#2321) diff --git a/src/util/StreamerMode.cpp b/src/util/StreamerMode.cpp index 38d90a79..c2b00237 100644 --- a/src/util/StreamerMode.cpp +++ b/src/util/StreamerMode.cpp @@ -45,7 +45,7 @@ bool isInStreamerMode() return false; case StreamerModeSetting::DetectObs: -#ifdef Q_OS_LINUX +#if defined(Q_OS_LINUX) || defined(Q_OS_MACOS) static bool cache = false; static QDateTime time = QDateTime(); diff --git a/src/widgets/settingspages/GeneralPage.cpp b/src/widgets/settingspages/GeneralPage.cpp index 4d1ad8f0..eac97b0b 100644 --- a/src/widgets/settingspages/GeneralPage.cpp +++ b/src/widgets/settingspages/GeneralPage.cpp @@ -321,8 +321,8 @@ void GeneralPage::initLayout(GeneralPageView &layout) layout.addTitle("Streamer Mode"); layout.addDescription( "Chatterino can automatically change behavior if it detects that \"OBS " - "Studio\" is running (Automatic mode works only on Windows and " - "Linux).\nSelect which things you want to change while streaming"); + "Studio\" is running.\nSelect which things you want to change while " + "streaming"); ComboBox *dankDropdown = layout.addDropdown::type>(