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
32df2c29
Commit
32df2c29
authored
Sep 12, 2015
by
Jeff
Browse files
Fix library, grave, exile crash on windows
parent
73677e16
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/zoneviewwidget.cpp
View file @
32df2c29
...
...
@@ -141,12 +141,7 @@ void ZoneViewWidget::moveEvent(QGraphicsSceneMoveEvent * /* event */)
if
(
!
scene
())
return
;
static
int
titleBarHeight
=
0
;
if
(
titleBarHeight
==
0
)
{
QStyleOptionTitleBar
so
;
titleBarHeight
=
style
()
->
pixelMetric
(
QStyle
::
PM_TitleBarHeight
,
&
so
,
(
QWidget
*
)
this
);
}
int
titleBarHeight
=
24
;
QPointF
scenePos
=
pos
();
...
...
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