Commit d5afd97f authored by ctrlaltca's avatar ctrlaltca
Browse files

Merge pull request #1509 from Fizztastic/1505_fix

Fix library, grave, exile crash on windows
parents 226a8cc0 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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment