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<void(const QString &)>; - constexpr static int maxLineCount = 10; + constexpr static int maxEmoteCount = 200; public: EmoteInputPopup(QWidget *parent = nullptr);