Merge pull request #1509 from Fizztastic/1505_fix
Fix library, grave, exile crash on windows
This commit is contained in:
commit
d5afd97ff4
1 changed files with 1 additions and 6 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue