Commit 09310519 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

paintEvent is not useful anymore

parent fb6afbc8
......@@ -80,14 +80,6 @@ VideoWidget::VideoWidget( intf_thread_t *_p_i ) : QFrame( NULL ), p_intf( _p_i )
setLayout( layout );
}
void VideoWidget::paintEvent(QPaintEvent *ev)
{
QFrame::paintEvent(ev);
#ifdef Q_WS_X11
XFlush( QX11Info::display() );
#endif
}
VideoWidget::~VideoWidget()
{
/* Ensure we are not leaking the video output. This would crash. */
......
......@@ -72,8 +72,6 @@ protected:
return NULL;
}
virtual void paintEvent(QPaintEvent *);
private:
intf_thread_t *p_intf;
......
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