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
d5afd97f
Commit
d5afd97f
authored
Sep 12, 2015
by
ctrlaltca
Browse files
Merge pull request #1509 from Fizztastic/1505_fix
Fix library, grave, exile crash on windows
parents
226a8cc0
32df2c29
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/zoneviewwidget.cpp
View file @
d5afd97f
...
...
@@ -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