Commit 41bad009 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

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
parent 8332a26a
...@@ -487,7 +487,6 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf, QWidget *parent ) ...@@ -487,7 +487,6 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf, QWidget *parent )
SpeedLabel::~SpeedLabel() SpeedLabel::~SpeedLabel()
{ {
delete speedControl;
delete speedControlMenu; delete speedControlMenu;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment