Enable browser integration settings on all platforms (#6509)

* Enable browser integration settings on all platforms

* nit: document /watching for Windows too

* nit: only show "attach" setting on Windows

* chore: add changelog entry

* another changelog update

---------

Co-authored-by: smc <crazysmc@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
smc
2025-10-04 15:26:42 +02:00
committed by GitHub
parent c5b0669812
commit 3f68170a49
2 changed files with 12 additions and 4 deletions
+11 -4
View File
@@ -889,10 +889,16 @@ void GeneralPage::initLayout(GeneralPageView &layout)
"issues <a href='https://chatterino.com/link/issues'>here</a>.");
}
#ifdef Q_OS_WIN
layout.addTitle("Browser Integration");
layout.addDescription("The browser extension replaces the default "
"Twitch.tv chat with Chatterino.");
#ifdef Q_OS_WIN
layout.addDescription(
"The browser extension replaces the default "
"Twitch.tv chat with Chatterino, and updates the /watching split on "
"Chatterino when Twitch.tv is open.");
#else
layout.addDescription("The browser extension updates the /watching "
"split on Chatterino when Twitch.tv is open.");
#endif
{
if (auto err = nmIpcError().get())
@@ -910,6 +916,7 @@ void GeneralPage::initLayout(GeneralPageView &layout)
layout.addDescription(
formatRichNamedLink(FIREFOX_EXTENSION_LINK, "Download for Firefox"));
#ifdef Q_OS_WIN
layout.addDescription("Chatterino only attaches to known browsers to avoid "
"attaching to other windows by accident.");
SettingWidget::checkbox("Attach to any browser (may cause issues)",
@@ -918,6 +925,7 @@ void GeneralPage::initLayout(GeneralPageView &layout)
"Attempt to force the Chatterino Browser Extension to work in "
"certain browsers that do not work automatically.\ne.g. Librewolf")
->addTo(layout);
#endif
{
auto *note = layout.addDescription(
@@ -938,7 +946,6 @@ void GeneralPage::initLayout(GeneralPageView &layout)
"Extension;IDs;separated;by;semicolons")
->addTo(layout, form);
}
#endif
layout.addTitle("AppData & Cache");