diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-11-14 21:19:27 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-11-14 21:19:27 +0000 |
| commit | 5e26d3a305b8e2c193ef04681c3c00937505ce53 (patch) | |
| tree | 64d2d6c12dec706838f872e05f451a933b476fc0 /lib/soundcore.cpp | |
| parent | bfabba0454037c8817ed192dc110c4237888bae8 (diff) | |
| download | qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.tar.gz qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.tar.bz2 qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.zip | |
shaded mode for the main display
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@183 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'lib/soundcore.cpp')
| -rw-r--r-- | lib/soundcore.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/soundcore.cpp b/lib/soundcore.cpp index b94fd223f..6c6f058e7 100644 --- a/lib/soundcore.cpp +++ b/lib/soundcore.cpp @@ -385,6 +385,16 @@ void SoundCore::removeVisual(VisualFactory *factory) Visual::setEnabled(factory, FALSE); } +void SoundCore::removeVisual(Visual *visual) +{ + if (m_visuals.indexOf (visual) != -1) + { + m_visuals.removeAll(visual); + if(m_output) + m_output->removeVisual(visual); + } +} + SoundCore* SoundCore::instance() { return m_instance; |
