Commit d3569a71 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix dialog position

parent af6f24dc
......@@ -281,8 +281,7 @@ void BranchesDialog::updateViewGeometry()
const int xPos = std::max(0, (centralSize.width() - viewMaxSize.width()) / 2);
const int yPos = std::max(0, (centralSize.height() - viewMaxSize.height()) * 1 / 4);
const QPoint p(xPos, yPos);
move(p + parentWidget()->pos());
move(QPoint(xPos, yPos));
this->setFixedSize(viewMaxSize);
}
Markdown is supported
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