[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: [Panel-devel] Smooth scrolling on Add applet dialog
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2007-10-26 1:54:48
Message-ID: 200710251954.49238.aseigo () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Thursday 25 October 2007, Rafael Fernández López wrote:
> Hi,
>
> /me loves smooth stuff
>
> This is a small patch that makes the scrolling smooth. It also workarounds
> a small bug on Qt that when you set the scrollperpixel attribute the mouse
> wheel becomes completely useless.
>
> Can I commit ?
yes, but only if
+ if (m_modelFilterItems->rowCount())
+ itemsView->verticalScrollBar()->setSingleStep(itemsView->sizeHintForRow(0));
becomes
+ if (m_modelFilterItems->rowCount()) {
+ itemsView->verticalScrollBar()->setSingleStep(itemsView->sizeHintForRow(0));
+ }
=)
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
[Attachment #5 (application/pgp-signature)]
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic