[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegraphics/okular/ui
From: Pino Toscano <pino () kde ! org>
Date: 2008-08-25 2:04:27
Message-ID: 1219629867.880060.14875.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 851962 by pino:
do not propagate the mouse events to the parent widget
M +4 -0 videowidget.cpp
--- trunk/KDE/kdegraphics/okular/ui/videowidget.cpp #851961:851962
@@ -91,6 +91,10 @@
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 );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic