endless loop in KDoubleNumInput (with patch)

Matthias Kretz kretz at kde.org
Wed Nov 13 09:32:09 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

calling KDoubleNumInput::setRange may cause an endless loop if 
d->spin->setRange changes the value of the spinbox. Because that 
automatically changes the value of the slider which in turn changes the value 
of the spinbox ... and so forth.

Normally this wouldn't happen since the values are the same but at this 
position the mapSliderToSpin method doesn't return the right value.

- -- 
C'ya
        Matthias
________________________________________________________
Matthias Kretz (Germany)
http://Vir.homeip.net/
MatthiasKretz at gmx.net, kretz at kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE90hxXyg4WnCj6OIoRAnGTAJ0fgl8DhYAEarlkQeaScqsAaC0ObgCdHK08
zjbLM72CTZ2vmYgV0bEheG0=
=hCAI
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knuminput.patch
Type: text/x-diff
Size: 1364 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021113/7b1a718e/attachment.patch>


More information about the kde-core-devel mailing list