Commit e67e9b6e authored by David Edmundson's avatar David Edmundson Committed by Vlad Zahorodnii
Browse files

Avoid rounding in frameSizeToClientSize

parent 4573337b
Pipeline #209126 failed with stage
in 14 minutes and 1 second
......@@ -3615,8 +3615,8 @@ QPointF Window::clientPosToFramePos(const QPointF &point) const
QSizeF Window::frameSizeToClientSize(const QSizeF &size) const
{
const int width = size.width() - borderLeft() - borderRight();
const int height = size.height() - borderTop() - borderBottom();
const qreal width = size.width() - borderLeft() - borderRight();
const qreal height = size.height() - borderTop() - borderBottom();
return QSizeF(width, height);
}
......
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