When changing geometry always update
This commit is contained in:
parent
bb10131fd4
commit
394e29fa34
@ -333,12 +333,12 @@ void IconItem::geometryChanged(const QRectF &newGeometry,
|
||||
const QRectF &oldGeometry)
|
||||
{
|
||||
if (newGeometry.size() != oldGeometry.size()) {
|
||||
m_sizechanged = true;
|
||||
update();
|
||||
if (newGeometry.width() > 0 && newGeometry.height() > 0) {
|
||||
m_sizeChanged = true;
|
||||
if (!m_loadPixmapTimer.isActive()) {
|
||||
m_loadPixmapTimer.start();
|
||||
}
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user