Fix crash when in embedded dummy mode

This is an issue for Kile as they use Okular in the "dummy mode" which doesn't include the annotation tool.

BUG: 476207

Merge request reports

Loading