From 29d0ef692325f1c02aaf140206e6f6e35e4a4155 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sun, 8 Nov 2020 10:32:55 +0100 Subject: [PATCH] Apply nightly update logic to macOS and Linux too (#2164) --- CHANGELOG.md | 1 + src/singletons/Updates.cpp | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9bac195..657a9085 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ - Minor: PageUp and PageDown now scroll in the selected split (#2070, #2081) - Minor: Allow highlights to be excluded from `/mentions`. Excluded highlights will not trigger tab highlights either. (#1793, #2036) - Minor: Flag all popup dialogs as actual dialogs so they get the relevant window manager hints (#1843) +- Minor: Don't show update button for nightly builds on macOS and Linux, this was already the case for Windows (#2163, #2164) - Bugfix: Fix crash occurring when pressing Escape in the Color Picker Dialog (#1843) - Bugfix: Fix bug preventing users from setting the highlight color of the second entry in the "User" highlights tab (#1898) - Bugfix: Fix bug where the "check user follow state" event could trigger a network request requesting the user to follow or unfollow a user. By itself its quite harmless as it just repeats to Twitch the same follow state we had, so no follows should have been lost by this but it meant there was a rogue network request that was fired that could cause a crash (#1906) diff --git a/src/singletons/Updates.cpp b/src/singletons/Updates.cpp index 9acf8e1c..b1546cec 100644 --- a/src/singletons/Updates.cpp +++ b/src/singletons/Updates.cpp @@ -240,13 +240,11 @@ void Updates::checkForUpdates() return; } - // Disable updates if on nightly and windows. -#ifdef Q_OS_WIN + // Disable updates if on nightly if (Modes::instance().isNightly) { return; } -#endif QString url = "https://notitia.chatterino.com/version/chatterino/" CHATTERINO_OS "/" +