diff options
Diffstat (limited to 'src/kitemviews/private/kitemlistviewanimation.cpp')
| -rw-r--r-- | src/kitemviews/private/kitemlistviewanimation.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/kitemviews/private/kitemlistviewanimation.cpp b/src/kitemviews/private/kitemlistviewanimation.cpp index 763f770ff..e07961e31 100644 --- a/src/kitemviews/private/kitemlistviewanimation.cpp +++ b/src/kitemviews/private/kitemlistviewanimation.cpp @@ -133,25 +133,6 @@ void KItemListViewAnimation::start(QGraphicsWidget *widget, AnimationType type, break; } - case ResizeAnimation: { - const QSizeF newSize = endValue.toSizeF(); - if (newSize == widget->size()) { - return; - } - - propertyAnim = new QPropertyAnimation(widget, "size"); - propertyAnim->setDuration(animationDuration); - propertyAnim->setEndValue(newSize); - break; - } - - case IconResizeAnimation: { - propertyAnim = new QPropertyAnimation(widget, QByteArrayLiteral("iconSize")); - propertyAnim->setDuration(animationDuration); - propertyAnim->setEndValue(endValue); - break; - } - default: Q_UNREACHABLE(); break; @@ -179,8 +160,6 @@ void KItemListViewAnimation::stop(QGraphicsWidget *widget, AnimationType type) case DeleteAnimation: widget->setOpacity(0.0); break; - case ResizeAnimation: - break; default: break; } |
