Skip to content
GitLab
Menu
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
997e1d91
Commit
997e1d91
authored
Mar 28, 2021
by
Albert Astals Cid
Browse files
Fix playing RichMedia annotations
BUGS: 434962
parent
01c240c0
Pipeline
#56531
passed with stage
in 28 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
part/pageviewmouseannotation.cpp
View file @
997e1d91
...
...
@@ -112,7 +112,8 @@ void MouseAnnotation::routeMousePressEvent(PageViewItem *pageViewItem, const QPo
AnnotationDescription
ad
(
pageViewItem
,
eventPos
);
/* qDebug() << "routeMousePressEvent: eventPos = " << eventPos; */
if
(
ad
.
isValid
())
{
if
(
ad
.
annotation
->
subType
()
==
Okular
::
Annotation
::
AMovie
||
ad
.
annotation
->
subType
()
==
Okular
::
Annotation
::
AScreen
||
ad
.
annotation
->
subType
()
==
Okular
::
Annotation
::
AFileAttachment
)
{
if
(
ad
.
annotation
->
subType
()
==
Okular
::
Annotation
::
AMovie
||
ad
.
annotation
->
subType
()
==
Okular
::
Annotation
::
AScreen
||
ad
.
annotation
->
subType
()
==
Okular
::
Annotation
::
AFileAttachment
||
ad
.
annotation
->
subType
()
==
Okular
::
Annotation
::
ARichMedia
)
{
/* qDebug() << "routeMousePressEvent: trigger action for AMovie/AScreen/AFileAttachment"; */
processAction
(
ad
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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