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
12fe0f53
Commit
12fe0f53
authored
Feb 11, 2015
by
Gavin Bisesi
Browse files
Merge pull request #727 from poixen/pm_macro
Added modifier key to quick PM
parents
df911338
92474479
Changes
1
Show whitespace changes
Inline
Side-by-side
cockatrice/src/chatview.cpp
View file @
12fe0f53
...
@@ -326,6 +326,9 @@ void ChatView::mousePressEvent(QMouseEvent *event)
...
@@ -326,6 +326,9 @@ void ChatView::mousePressEvent(QMouseEvent *event)
break
;
break
;
}
}
case
Qt
::
LeftButton
:{
case
Qt
::
LeftButton
:{
if
(
event
->
modifiers
()
==
Qt
::
ControlModifier
)
{
emit
openMessageDialog
(
userName
,
true
);
}
else
emit
addMentionTag
(
"@"
+
userName
);
emit
addMentionTag
(
"@"
+
userName
);
break
;
break
;
}
}
...
...
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