Avoid unneeded Rect conversion

This commit is contained in:
David Edmundson 2022-07-25 14:49:47 +01:00 committed by Vlad Zahorodnii
parent 27f24d1449
commit 4573337bfe

View file

@ -1525,7 +1525,7 @@ QRectF X11Window::iconGeometry() const
if (!mainwin) {
continue;
}
geom = mainwin->iconGeometry().toRect();
geom = mainwin->iconGeometry();
if (geom.isValid()) {
return geom;
}