From: werner s. <wsc...@us...> - 2005-12-18 12:36:19
|
Update of /cvsroot/lmuse/muse/awl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31987/awl Modified Files: volslider.cpp Log Message: recent updates Index: volslider.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/awl/volslider.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** volslider.cpp 1 Nov 2005 10:00:28 -0000 1.8 --- volslider.cpp 18 Dec 2005 12:36:01 -0000 1.9 *************** *** 30,36 **** //--------------------------------------------------------- ! void VolSlider::mouseDoubleClickEvent(QMouseEvent*) { ! _value = _minValue; valueChange(); update(); --- 30,39 ---- //--------------------------------------------------------- ! void VolSlider::mouseDoubleClickEvent(QMouseEvent* ev) { ! if (ev->button() == Qt::RightButton) ! _value = 0.0; ! else ! _value = _minValue; valueChange(); update(); |