[vlc-commits] Qt: do not delete speedControl yourself
Jean-Baptiste Kempf
git at videolan.org
Wed Aug 28 13:51:40 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 28 13:50:49 2013 +0200| [41bad0093beb6aa4f6b9c9b2e1128d1765d99809] | committer: Jean-Baptiste Kempf
Qt: do not delete speedControl yourself
It is a QFrame, so it is already parented and should work fine.
Fixes crash-on-quit in Qt5
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=41bad0093beb6aa4f6b9c9b2e1128d1765d99809
---
modules/gui/qt4/components/interface_widgets.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index b22fb43..e25be11 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -487,7 +487,6 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf, QWidget *parent )
SpeedLabel::~SpeedLabel()
{
- delete speedControl;
delete speedControlMenu;
}
More information about the vlc-commits
mailing list