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
2928eead
Commit
2928eead
authored
Sep 24, 2010
by
Max-Wilhelm Bruker
Browse files
spectator arrow drag item fix
parent
e92840c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carditem.cpp
View file @
2928eead
...
...
@@ -297,6 +297,8 @@ void CardItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
if
(
event
->
buttons
().
testFlag
(
Qt
::
RightButton
))
{
if
((
event
->
screenPos
()
-
event
->
buttonDownScreenPos
(
Qt
::
RightButton
)).
manhattanLength
()
<
2
*
QApplication
::
startDragDistance
())
return
;
if
(
static_cast
<
TabGame
*>
(
owner
->
parent
())
->
getSpectator
())
return
;
QColor
arrowColor
=
Qt
::
red
;
if
(
event
->
modifiers
().
testFlag
(
Qt
::
ControlModifier
))
...
...
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