Fix red text color persisting from message overflow highlight (#4204)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -52,8 +52,6 @@ public:
|
||||
QString getInputText() const;
|
||||
void insertText(const QString &text);
|
||||
|
||||
static const int TWITCH_MESSAGE_LIMIT = 500;
|
||||
|
||||
void setReply(std::shared_ptr<MessageThread> reply,
|
||||
bool showInlineReplying = true);
|
||||
void setPlaceholderText(const QString &text);
|
||||
@@ -151,8 +149,6 @@ protected:
|
||||
QString currMsg_;
|
||||
int prevIndex_ = 0;
|
||||
|
||||
int lastOverflowLength = TWITCH_MESSAGE_LIMIT;
|
||||
|
||||
// Hidden denotes whether this split input should be hidden or not
|
||||
// This is used instead of the regular QWidget::hide/show because
|
||||
// focus events don't work as expected, so instead we use this bool and
|
||||
|
||||
Reference in New Issue
Block a user