Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 507124
Collapse All | Expand All

(-)a/src/gui/styles/qcleanlooksstyle.cpp (-2 / +1 lines)
Lines 1773-1779 void QCleanlooksStyle::drawControl(ControlElement element, const QStyleOption *o Link Here
1773
                }
1773
                }
1774
            } else {
1774
            } else {
1775
                Q_D(const QCleanlooksStyle);
1775
                Q_D(const QCleanlooksStyle);
1776
                int slideWidth = ((rect.width() - 4) * 2) / 3;
1776
                int slideWidth = (qMax(rect.width() - 4, minWidth) * 2) / 3;
1777
                int step = ((d->animateStep * slideWidth) / d->animationFps) % slideWidth;
1777
                int step = ((d->animateStep * slideWidth) / d->animationFps) % slideWidth;
1778
                if ((((d->animateStep * slideWidth) / d->animationFps) % (2 * slideWidth)) >= slideWidth)
1778
                if ((((d->animateStep * slideWidth) / d->animationFps) % (2 * slideWidth)) >= slideWidth)
1779
                    step = slideWidth - step;
1779
                    step = slideWidth - step;
1780
- 

Return to bug 507124