diff --git a/src/x11window.cpp b/src/x11window.cpp index d3c30d75b1..a5a6ab172c 100644 --- a/src/x11window.cpp +++ b/src/x11window.cpp @@ -1525,7 +1525,7 @@ QRectF X11Window::iconGeometry() const if (!mainwin) { continue; } - geom = mainwin->iconGeometry().toRect(); + geom = mainwin->iconGeometry(); if (geom.isValid()) { return geom; }