diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-07-11 19:52:16 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-07-11 19:52:16 +0000 |
| commit | e77a03ab6e4abd3560bae4afc6bd0611756e02d6 (patch) | |
| tree | 6311b2017b44548f44dff5169af5847239ebee7c /src | |
| parent | 81230638d22177215fd64062e5f28f017802fc75 (diff) | |
| download | qmmp-e77a03ab6e4abd3560bae4afc6bd0611756e02d6.tar.gz qmmp-e77a03ab6e4abd3560bae4afc6bd0611756e02d6.tar.bz2 qmmp-e77a03ab6e4abd3560bae4afc6bd0611756e02d6.zip | |
fixed visualization again
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@456 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
| -rw-r--r-- | src/qmmp/output.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qmmp/output.cpp b/src/qmmp/output.cpp index ebfcb9c33..f5e30c02a 100644 --- a/src/qmmp/output.cpp +++ b/src/qmmp/output.cpp @@ -141,8 +141,7 @@ Output::~Output() foreach(Visual *visual, m_vis_map.values ()) { visual->setOutput(0); - visual->hide(); - visual->deleteLater(); + visual->close(); } foreach (Visual *visual , visuals) //external { @@ -185,9 +184,7 @@ void Output::processCloseEvent(Visual *v, QCloseEvent *event) m_vis_map.remove(factory); Visual::setEnabled(factory, FALSE); dispatch(OutputState::VisualRemoved); - return; } - removeVisual (v); } void Output::addVisual(VisualFactory *factory, QWidget *parent) |
