From 80d52a37f620ca82bdf35c7154eafce250334506 Mon Sep 17 00:00:00 2001 From: ilyazzz Date: Sun, 4 Apr 2021 16:14:16 +0300 Subject: [PATCH 01/19] Update app description in appdata.xml (#2591) --- resources/com.chatterino.chatterino.appdata.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/com.chatterino.chatterino.appdata.xml b/resources/com.chatterino.chatterino.appdata.xml index 835c2dcba..b44eae216 100644 --- a/resources/com.chatterino.chatterino.appdata.xml +++ b/resources/com.chatterino.chatterino.appdata.xml @@ -13,8 +13,7 @@

- Chatterino 2 is the second installment of the Twitch chat client series - "Chatterino". + Chatterino is a chat client for Twitch chat. It aims to be an improved/extended version of the Twitch web chat.

From 2db7a30ae5a257bc211b7f717bd6196ba5410a77 Mon Sep 17 00:00:00 2001 From: fourtf Date: Sun, 4 Apr 2021 15:24:12 +0200 Subject: [PATCH 02/19] always update dropdown on split button press (#2590) --- src/widgets/helper/Button.cpp | 3 +++ src/widgets/splits/SplitHeader.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/widgets/helper/Button.cpp b/src/widgets/helper/Button.cpp index 12cada4b2..7ad648097 100644 --- a/src/widgets/helper/Button.cpp +++ b/src/widgets/helper/Button.cpp @@ -113,6 +113,9 @@ const QColor &Button::getBorderColor() const void Button::setMenu(std::unique_ptr menu) { + if (this->menu_) + this->menu_.release()->deleteLater(); + this->menu_ = std::move(menu); this->menu_->installEventFilter( diff --git a/src/widgets/splits/SplitHeader.cpp b/src/widgets/splits/SplitHeader.cpp index f4c65870c..869184a24 100644 --- a/src/widgets/splits/SplitHeader.cpp +++ b/src/widgets/splits/SplitHeader.cpp @@ -284,7 +284,7 @@ void SplitHeader::initializeLayout() // dropdown this->dropdownButton_ = makeWidget