Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Okular
Commits
a65075c1
Commit
a65075c1
authored
Aug 25, 2008
by
Pino Toscano
Browse files
do not propagate the mouse events to the parent widget
svn path=/trunk/KDE/kdegraphics/okular/; revision=851962
parent
6993fda3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/videowidget.cpp
View file @
a65075c1
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment