Commit 997e1d91 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix playing RichMedia annotations

BUGS: 434962
parent 01c240c0
Pipeline #56531 passed with stage
in 28 minutes and 4 seconds
......@@ -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 {
......
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