mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -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);
|
cursor.insertText(mention, mentionFormat);
|
||||||
message = message.mid(mention.size());
|
message = message.mid(mention.size());
|
||||||
QApplication::alert(this);
|
QApplication::alert(this);
|
||||||
if (shouldShowSystemPopup()) {
|
if (settingsCache->getShowMentionPopup() && shouldShowSystemPopup()) {
|
||||||
QString ref = sender.left(sender.length() - 2);
|
QString ref = sender.left(sender.length() - 2);
|
||||||
showSystemPopup(ref);
|
showSystemPopup(ref);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue