mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-21 17:13:22 -08:00
Added () for || && logic handling
This commit is contained in:
@@ -119,7 +119,7 @@ void TabMessage::processUserMessageEvent(const Event_UserMessage &event)
|
||||
|
||||
bool TabMessage::shouldShowSystemPopup(const Event_UserMessage &event) {
|
||||
return (QApplication::activeWindow() == 0 || QApplication::focusWidget() == 0 ||
|
||||
event.sender_name() == otherUserInfo->name() && tabSupervisor->currentIndex() != tabSupervisor->indexOf(this));
|
||||
(event.sender_name() == otherUserInfo->name() && tabSupervisor->currentIndex() != tabSupervisor->indexOf(this)));
|
||||
}
|
||||
|
||||
void TabMessage::showSystemPopup(const Event_UserMessage &event) {
|
||||
|
||||
Reference in New Issue
Block a user