Avoid unneeded Rect conversion
This commit is contained in:
parent
27f24d1449
commit
4573337bfe
1 changed files with 1 additions and 1 deletions
|
@ -1525,7 +1525,7 @@ QRectF X11Window::iconGeometry() const
|
|||
if (!mainwin) {
|
||||
continue;
|
||||
}
|
||||
geom = mainwin->iconGeometry().toRect();
|
||||
geom = mainwin->iconGeometry();
|
||||
if (geom.isValid()) {
|
||||
return geom;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue