mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
this ctor was used to create a system message
we now only use the ctor that takes an explicit SystemMessageTag
This commit is contained in:
parent
b5efe12f56
commit
30430b0fb3
2 changed files with 0 additions and 11 deletions
|
@ -91,16 +91,6 @@ MessageBuilder::MessageBuilder()
|
|||
{
|
||||
}
|
||||
|
||||
MessageBuilder::MessageBuilder(const QString &text)
|
||||
: MessageBuilder()
|
||||
{
|
||||
this->emplace<TimestampElement>();
|
||||
this->emplace<TextElement>(text, MessageElementFlag::Text,
|
||||
MessageColor::System);
|
||||
this->message().messageText = text;
|
||||
this->message().searchText = text;
|
||||
}
|
||||
|
||||
MessageBuilder::MessageBuilder(SystemMessageTag, const QString &text)
|
||||
: MessageBuilder()
|
||||
{
|
||||
|
|
|
@ -38,7 +38,6 @@ class MessageBuilder
|
|||
{
|
||||
public:
|
||||
MessageBuilder();
|
||||
MessageBuilder(const QString &text);
|
||||
MessageBuilder(SystemMessageTag, const QString &text);
|
||||
MessageBuilder(TimeoutMessageTag, const QString &username,
|
||||
const QString &durationInSeconds, const QString &reason,
|
||||
|
|
Loading…
Reference in a new issue