QSlider problem on OS X - bug in Qt?
marlon.smith10 last edited by
I've got a project that uses a QSlider, and I've connected the QSlider's valueChanged(int) signal to a function I've written. Everything works fine on Windows and Linux, but on Mac when the user clicks on the slider, it immediately sends out a valueChanged signal even though I have disabled tracking and they have not released the mouse button. If the user keeps the mouse held down, they can continue to drag the slider and another signal will not be sent until they release (which is good). The extra signal at the beginning is a problem for me though.
I've tried checking with isSliderDown() when my function gets called, but that function returns false even when the mouse button is still being held down.
Has anyone else had this problem? Could this be a bug in Qt?
I'm using Qt 4.8.1 on Mac OS X 10.6.8.