Mercurial > hg > easaier-soundaccess
changeset 224:d2dff2170c7a
correct bug: when creating a new session, the PropertyBox of the filters stayed.
author | lbajardsilogic |
---|---|
date | Tue, 12 Feb 2008 15:06:02 +0000 |
parents | c413e82a4812 |
children | 3200ed3fc957 |
files | sv/filter/Filter.cpp sv/filter/Filter.h sv/filter/FilterStack.cpp |
diffstat | 3 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sv/filter/Filter.cpp Mon Feb 11 15:17:54 2008 +0000 +++ b/sv/filter/Filter.cpp Tue Feb 12 15:06:02 2008 +0000 @@ -26,6 +26,7 @@ PropertyContainer* filterElt = *(iter); if (filterElt) { + emit propertyContainerRemoved(filterElt->objectName()); delete filterElt; filterElt = 0; }
--- a/sv/filter/Filter.h Mon Feb 11 15:17:54 2008 +0000 +++ b/sv/filter/Filter.h Tue Feb 12 15:06:02 2008 +0000 @@ -60,6 +60,7 @@ signals : void filterEnableChange(bool); + void propertyContainerRemoved(QString); //void propertiesChanged(PropertyContainer *);
--- a/sv/filter/FilterStack.cpp Mon Feb 11 15:17:54 2008 +0000 +++ b/sv/filter/FilterStack.cpp Tue Feb 12 15:06:02 2008 +0000 @@ -53,7 +53,9 @@ PropertyContainer* filterElt = *iter; emit newFilterAdded(filterElt); } - //emit newFilterAdded(filter); + + connect(filter, SIGNAL(propertyContainerRemoved(QString)), + this, SIGNAL(filterRemoved(QString))); } void FilterStack::putInput(float **input, size_t samples)