mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
parent
030b02345d
commit
9c6784a1c0
2 changed files with 9 additions and 4 deletions
|
|
@ -23,8 +23,11 @@ ChatView::ChatView(const TabSupervisor *_tabSupervisor, TabGame *_game, bool _sh
|
|||
userContextMenu = new UserContextMenu(tabSupervisor, this, game);
|
||||
connect(userContextMenu, SIGNAL(openMessageDialog(QString, bool)), this, SIGNAL(openMessageDialog(QString, bool)));
|
||||
|
||||
userName = QString::fromStdString(tabSupervisor->getUserInfo()->name());
|
||||
mention = "@" + userName.toLower();
|
||||
if(tabSupervisor->getUserInfo())
|
||||
{
|
||||
userName = QString::fromStdString(tabSupervisor->getUserInfo()->name());
|
||||
mention = "@" + userName.toLower();
|
||||
}
|
||||
|
||||
mentionFormat.setFontWeight(QFont::Bold);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue