Commit b683889c authored by Tobias Koenig's avatar Tobias Koenig Committed by Albert Astals Cid

Fix play back of video with rendition link

Process the operations of the rendition link independently of whether
there is a JS script or not. Most of the time the JS script won't be
executed correctly anyway, since Okular is missing most of the JS API,
so we should fall back on the given operations.

BUGS: 324167
FIXED-IN: KDE Applications 15.08.0
parent 48d20f21
......@@ -3998,10 +3998,8 @@ void Document::processAction( const Action * action )
d->m_scripter = new Scripter( d );
d->m_scripter->execute( linkrendition->scriptType(), linkrendition->script() );
}
else
{
emit processRenditionAction( static_cast< const RenditionAction * >( action ) );
}
emit processRenditionAction( static_cast< const RenditionAction * >( action ) );
} break;
}
}
......
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