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
92474479
Commit
92474479
authored
Feb 11, 2015
by
Matt Lowe
Browse files
Added modifier key to quick PM
Ctrl + click on a user name to PM
parent
dcc6c189
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/chatview.cpp
View file @
92474479
...
...
@@ -326,7 +326,10 @@ void ChatView::mousePressEvent(QMouseEvent *event)
break
;
}
case
Qt
::
LeftButton
:{
emit
addMentionTag
(
"@"
+
userName
);
if
(
event
->
modifiers
()
==
Qt
::
ControlModifier
)
{
emit
openMessageDialog
(
userName
,
true
);
}
else
emit
addMentionTag
(
"@"
+
userName
);
break
;
}
default:
...
...
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