Commit a65075c1 authored by Pino Toscano's avatar Pino Toscano
Browse files

do not propagate the mouse events to the parent widget

svn path=/trunk/KDE/kdegraphics/okular/; revision=851962
parent 6993fda3
...@@ -91,6 +91,10 @@ void VideoWidget::Private::finished() ...@@ -91,6 +91,10 @@ void VideoWidget::Private::finished()
VideoWidget::VideoWidget( Okular::MovieAnnotation *movieann, Okular::Document *document, QWidget *parent ) VideoWidget::VideoWidget( Okular::MovieAnnotation *movieann, Okular::Document *document, QWidget *parent )
: QWidget( parent ), d( new Private( movieann, document, this ) ) : QWidget( parent ), d( new Private( movieann, document, this ) )
{ {
// do not propagate the mouse events to the parent widget;
// they should be tied to this widget, not spread around...
setAttribute( Qt::WA_NoMousePropagation );
QVBoxLayout *mainlay = new QVBoxLayout( this ); QVBoxLayout *mainlay = new QVBoxLayout( this );
mainlay->setMargin( 0 ); mainlay->setMargin( 0 );
......
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