From kde-panel-devel Fri Oct 26 01:54:48 2007 From: "Aaron J. Seigo" Date: Fri, 26 Oct 2007 01:54:48 +0000 To: kde-panel-devel Subject: Re: [Panel-devel] Smooth scrolling on Add applet dialog Message-Id: <200710251954.49238.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=119336372113327 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0168575170==" --===============0168575170== Content-Type: multipart/signed; boundary="nextPart1603238.AUM78gMOlE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1603238.AUM78gMOlE Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 25 October 2007, Rafael Fern=C3=A1ndez L=C3=B3pez 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 + =C2=A0 =C2=A0if (m_modelFilterItems->rowCount()) + =C2=A0 =C2=A0 =C2=A0 =C2=A0itemsView->verticalScrollBar()->setSingleStep(= itemsView->sizeHintForRow(0)); becomes + =C2=A0 =C2=A0if (m_modelFilterItems->rowCount()) { + =C2=A0 =C2=A0 =C2=A0 =C2=A0itemsView->verticalScrollBar()->setSingleStep(= itemsView->sizeHintForRow(0)); + } =3D) =2D-=20 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 --nextPart1603238.AUM78gMOlE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHIUjp1rcusafx20MRAq7RAJ9FFlEPWgySG4trttehkBmnnxCnDgCbBqfl fHiIbc5vakFks8iILvclqvA= =3jGh -----END PGP SIGNATURE----- --nextPart1603238.AUM78gMOlE-- --===============0168575170== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Panel-devel mailing list Panel-devel@kde.org https://mail.kde.org/mailman/listinfo/panel-devel --===============0168575170==--