| 467 | |
| 468 | |
| 469 | void manageVSTEffectView::displayAutomatedOnly( void ) |
| 470 | { |
| 471 | bool isAuto = QString::compare( m_displayAutomatedOnly->text(), tr( "Automated" ) ) == 0; |
| 472 | |
| 473 | for( int i = 0; i< m_vi2->paramCount; i++ ) |
| 474 | { |
| 475 | |
| 476 | if( !( m_vi2->knobFModel[ i ]->isAutomated() || |
| 477 | m_vi2->knobFModel[ i ]->controllerConnection() ) ) |
| 478 | { |
| 479 | if( vstKnobs[ i ]->isVisible() == true && isAuto ) |
| 480 | { |
| 481 | vstKnobs[ i ]->hide(); |
| 482 | m_displayAutomatedOnly->setText( "All" ); |
| 483 | } else { |
| 484 | vstKnobs[ i ]->show(); |
| 485 | m_displayAutomatedOnly->setText( "Automated" ); |
| 486 | } |
| 487 | } |
| 488 | } |
| 489 | } |
| 490 | |
| 491 | |
| 492 |
nothing calls this directly
no test coverage detected