mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
do not propagate the mouse events to the parent widget
svn path=/trunk/KDE/kdegraphics/okular/; revision=851962
This commit is contained in:
parent
6993fda364
commit
a65075c116
|
@ -91,6 +91,10 @@ void VideoWidget::Private::finished()
|
|||
VideoWidget::VideoWidget( Okular::MovieAnnotation *movieann, Okular::Document *document, QWidget *parent )
|
||||
: 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 );
|
||||
mainlay->setMargin( 0 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue