[vlmc-devel] commit: StackViewController: Don't delete current view twice. ( Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Wed Mar 17 21:12:07 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Wed Mar 17 19:30:56 2010 +0100| [41f354c5b07d1c5204839fe258125ebda2d3fb01] | committer: Hugo Beauzee-Luyssen 

StackViewController: Don't delete current view twice.

Just delete the current, the destroyed() signal will do the rest

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=41f354c5b07d1c5204839fe258125ebda2d3fb01
---

 src/Gui/library/StackViewController.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/Gui/library/StackViewController.cpp b/src/Gui/library/StackViewController.cpp
index 6babcb5..7fcc28d 100644
--- a/src/Gui/library/StackViewController.cpp
+++ b/src/Gui/library/StackViewController.cpp
@@ -106,7 +106,6 @@ void        StackViewController::popViewController( bool animated )
     m_layout->removeWidget( m_current->view() );
     m_current->view()->hide();
     delete m_current;
-    restorePrevious();
 }
 
 void        StackViewController::previous()



More information about the Vlmc-devel mailing list