MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / geometryChange

Method geometryChange

syncthingwidgets/quick/quickicon.cpp:186–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void Icon::geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry)
187{
188 QQuickItem::geometryChange(newGeometry, oldGeometry);
189 if (newGeometry.size() != oldGeometry.size()) {
190 m_sizeChanged = true;
191 updatePaintedGeometry();
192 polish();
193 }
194}
195
196void Icon::updatePolish()
197{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected