mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fixup merge
This commit is contained in:
parent
64e0116476
commit
d88aa965fa
1
res.qrc
1
res.qrc
|
@ -220,7 +220,6 @@
|
|||
<file>ui/videoButton/videoButtonYellow.png</file>
|
||||
<file>ui/videoButton/videoButtonYellowHover.png</file>
|
||||
<file>ui/videoButton/videoButtonYellowPressed.png</file>
|
||||
<file>ui/fileTransferWidget/fileTransferWidget.css</file>
|
||||
<file>ui/fileTransferInstance/red.css</file>
|
||||
<file>ui/fileTransferInstance/green.css</file>
|
||||
<file>ui/fileTransferInstance/grey.css</file>
|
||||
|
|
|
@ -211,7 +211,7 @@ ChatMessage* GenericChatForm::addSelfMessage(const QString &message, bool isActi
|
|||
void GenericChatForm::addAlertMessage(const ToxID &author, QString message, QDateTime datetime)
|
||||
{
|
||||
QString authorStr = Core::getInstance()->getPeerName(author);
|
||||
chatWidget->addChatMessage(author != previousId ? authorStr : QString(), message, author.isMine(), true);
|
||||
chatWidget->addChatMessage(author != previousId ? authorStr : QString(), message, datetime, author.isMine(), true);
|
||||
|
||||
previousId = author;
|
||||
}
|
||||
|
@ -250,8 +250,11 @@ void GenericChatForm::focusInput()
|
|||
|
||||
void GenericChatForm::addSystemInfoMessage(const QString &message, const QString &type, const QDateTime &datetime)
|
||||
{
|
||||
//TODO: respect type
|
||||
previousId.clear();
|
||||
chatWidget->addSystemMessage(message, datetime);
|
||||
|
||||
Q_UNUSED(type)
|
||||
}
|
||||
|
||||
void GenericChatForm::clearChatArea(bool notinform)
|
||||
|
|
Loading…
Reference in New Issue
Block a user