Commit 2a94c4bb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: force the deletion that doesn't seem to happen correctly

parent 4ff01dbb
......@@ -306,7 +306,11 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf, const QString& text,
CONNECT( THEMIM, inputChanged( input_thread_t * ),
speedControl, activateOnState() );
}
SpeedLabel::~SpeedLabel()
{
delete speedControl;
delete speedControlMenu;
}
/****************************************************************************
* Small right-click menu for rate control
****************************************************************************/
......
......@@ -157,6 +157,7 @@ class SpeedLabel : public QLabel
Q_OBJECT
public:
SpeedLabel( intf_thread_t *, const QString&, QWidget * );
virtual ~SpeedLabel();
protected:
virtual void mouseDoubleClickEvent ( QMouseEvent * event )
......
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