Mercurial > hg > svgui
changeset 677:5e5ab4e8d64b imaf_enc
Fix from Jesus Corral Garcia (panel with gain only appears when IM AF loaded)
author | Chris Cannam |
---|---|
date | Mon, 04 Nov 2013 17:10:51 +0000 |
parents | d3cbfb11b70a |
children | 26c5f7fd4807 |
files | widgets/PropertyBox.cpp |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp Mon Nov 04 17:10:38 2013 +0000 +++ b/widgets/PropertyBox.cpp Mon Nov 04 17:10:51 2013 +0000 @@ -56,6 +56,7 @@ QHBoxLayout *layout1 = new QHBoxLayout; int tracks=0; + extern bool isIMAF; //#include "C:/Users/Paco/Desktop/SV mio/sonic-visualiser/main/imafdecoder.h" PropertyBox::PropertyBox(PropertyContainer *container) : m_container(container), @@ -231,6 +232,7 @@ //code added by Jesus +if (isIMAF){ QString property_container_name; // the name could be : Waveform, Time Instants, etc property_container_name = layer->getPropertyContainerName();// obtain the name bool isWaveform; @@ -278,7 +280,8 @@ window->setLayout(layout1); window ->showNormal(); } -} // end if +} // end if isWaveform +} // end if isIMAF // end code added by Jesus AudioDial *panDial = new AudioDial;