From d841733ed8e7d3e1b00dc2e451d7f55e3591c6b0 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 26 Aug 2021 11:14:16 +0300 Subject: [PATCH] effects/overview: Call base QQuickItem::geometryChanged() in ExpoLayout According to the Qt documentation, if an item overrides the geometryChanged() method, it must call the base class method. QQuickItem::geometryChanged() is responsible for emitting signals such as xChanged(), yChanged(), etc. --- src/effects/overview/expolayout.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/effects/overview/expolayout.cpp b/src/effects/overview/expolayout.cpp index 0cb5839451..a00ba2a8d4 100644 --- a/src/effects/overview/expolayout.cpp +++ b/src/effects/overview/expolayout.cpp @@ -286,6 +286,7 @@ void ExpoLayout::geometryChanged(const QRectF &newGeometry, const QRectF &oldGeo if (newGeometry.size() != oldGeometry.size()) { scheduleUpdate(); } + QQuickItem::geometryChanged(newGeometry, oldGeometry); } static int distance(const QPoint &a, const QPoint &b)