Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
44d4a534
Commit
44d4a534
authored
Apr 10, 2015
by
Matt Lowe
Browse files
Added () for || && logic handling
parent
db23d3c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_message.cpp
View file @
44d4a534
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment