mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
Merge pull request #1052 from poixen/mention_pop_fix
Can now disable desktop mentions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user