void Fader::mouseReleaseEvent( QMouseEvent * mouseEvent ) { if( mouseEvent && mouseEvent->button() == Qt::LeftButton ) { AutomatableModel *thisModel = model(); if( thisModel ) { thisModel->restoreJournallingState(); } } s_textFloat->hide(); }
void Knob::mouseReleaseEvent( QMouseEvent* event ) { if( event && event->button() == Qt::LeftButton ) { AutomatableModel *thisModel = model(); if( thisModel ) { thisModel->restoreJournallingState(); } } m_buttonPressed = false; emit sliderReleased(); QApplication::restoreOverrideCursor(); s_textFloat->hide(); }