mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor(chatform): Remove useless static cast
This commit is contained in:
parent
18643da271
commit
0adf4a00f3
|
@ -501,7 +501,7 @@ void GenericChatForm::addSystemInfoMessage(const QDateTime& datetime, SystemMess
|
|||
SystemMessage::Args messageArgs)
|
||||
{
|
||||
SystemMessage systemMessage;
|
||||
systemMessage.messageType = static_cast<SystemMessageType>(messageType);
|
||||
systemMessage.messageType = messageType;
|
||||
systemMessage.timestamp = datetime;
|
||||
systemMessage.args = std::move(messageArgs);
|
||||
chatLog.addSystemMessage(systemMessage);
|
||||
|
|
Loading…
Reference in New Issue
Block a user