Fix library, grave, exile crash on windows
This commit is contained in:
parent
73677e16f6
commit
32df2c29ed
1 changed files with 1 additions and 6 deletions
|
@ -141,12 +141,7 @@ void ZoneViewWidget::moveEvent(QGraphicsSceneMoveEvent * /* event */)
|
||||||
if(!scene())
|
if(!scene())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
static int titleBarHeight = 0;
|
int titleBarHeight = 24;
|
||||||
if(titleBarHeight == 0)
|
|
||||||
{
|
|
||||||
QStyleOptionTitleBar so;
|
|
||||||
titleBarHeight = style()->pixelMetric(QStyle::PM_TitleBarHeight, &so, (QWidget*) this);
|
|
||||||
}
|
|
||||||
|
|
||||||
QPointF scenePos = pos();
|
QPointF scenePos = pos();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue