| 645 | |
| 646 | |
| 647 | void ZynAddSubFxView::toggleUI() |
| 648 | { |
| 649 | ZynAddSubFxInstrument * model = castModel<ZynAddSubFxInstrument>(); |
| 650 | if( model->m_hasGUI != m_toggleUIButton->isChecked() ) |
| 651 | { |
| 652 | model->m_hasGUI = m_toggleUIButton->isChecked(); |
| 653 | model->reloadPlugin(); |
| 654 | |
| 655 | if( model->m_remotePlugin ) |
| 656 | { |
| 657 | connect( model->m_remotePlugin, SIGNAL( clickedCloseButton() ), |
| 658 | m_toggleUIButton, SLOT( toggle() ) ); |
| 659 | } |
| 660 | } |
| 661 | } |
| 662 | |
| 663 | |
| 664 |
nothing calls this directly
no test coverage detected