svn path=/trunk/KDE/kdebase/apps/; revision=660582
This commit is contained in:
Peter Penz 2007-05-03 06:02:44 +00:00
parent 7b286a5463
commit be7f817875

View file

@ -50,7 +50,9 @@ void PixmapViewer::setPixmap(const QPixmap& pixmap)
m_pixmap = pixmap;
update();
if (m_transition != NoTransition) {
const bool animate = (m_transition != NoTransition) &&
(m_pixmap.size() != m_oldPixmap.size());
if (animate) {
m_animation.start();
}
}