mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Merge pull request #1052 from poixen/mention_pop_fix
Can now disable desktop mentions
This commit is contained in:
commit
75ea89361f
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use
|
|||
cursor.insertText(mention, mentionFormat);
|
||||
message = message.mid(mention.size());
|
||||
QApplication::alert(this);
|
||||
if (shouldShowSystemPopup()) {
|
||||
if (settingsCache->getShowMentionPopup() && shouldShowSystemPopup()) {
|
||||
QString ref = sender.left(sender.length() - 2);
|
||||
showSystemPopup(ref);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue