From f0b9f8ca594f1cc837f318fc7b44cbea8c90aa05 Mon Sep 17 00:00:00 2001 From: fourtf Date: Sat, 15 Aug 2020 21:20:23 +0200 Subject: [PATCH] raised emote limit in colon input to 200 --- src/widgets/splits/EmoteInputPopup.cpp | 2 +- src/widgets/splits/EmoteInputPopup.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/splits/EmoteInputPopup.cpp b/src/widgets/splits/EmoteInputPopup.cpp index 13f7b1305..3a27b7eeb 100644 --- a/src/widgets/splits/EmoteInputPopup.cpp +++ b/src/widgets/splits/EmoteInputPopup.cpp @@ -103,7 +103,7 @@ void EmoteInputPopup::updateEmotes(const QString &text, ChannelPtr channel) emote.emote, emote.emote->name.string + " - " + emote.providerName, this->callback_)); - if (count++ == maxLineCount) + if (count++ == maxEmoteCount) break; } diff --git a/src/widgets/splits/EmoteInputPopup.hpp b/src/widgets/splits/EmoteInputPopup.hpp index ced9c8f12..e9aba7ba9 100644 --- a/src/widgets/splits/EmoteInputPopup.hpp +++ b/src/widgets/splits/EmoteInputPopup.hpp @@ -13,7 +13,7 @@ class EmoteInputPopup : public BasePopup { using ActionCallback = std::function; - constexpr static int maxLineCount = 10; + constexpr static int maxEmoteCount = 200; public: EmoteInputPopup(QWidget *parent = nullptr);