From 4573337bfeebaf2272d38b83f497968446d1c26a Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 25 Jul 2022 14:49:47 +0100 Subject: [PATCH] Avoid unneeded Rect conversion --- src/x11window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }