Allow for the deletion of Caret annotations

Seems poppler just renders them fine, so we set them to externally rendered and allow annotation
FIXED-IN: KDE Applications 15.08
BUGS: 350740
remotes/origin/Applications/15.08
Albert Astals Cid 11 years ago
parent be793983eb
commit 1da3c424d1
  1. 1
      core/document.cpp
  2. 1
      generators/poppler/annots.cpp

@ -3293,6 +3293,7 @@ bool Document::canRemovePageAnnotation( const Annotation * annotation ) const
case Annotation::AHighlight:
case Annotation::AStamp:
case Annotation::AInk:
case Annotation::ACaret:
return true;
default:
return false;

@ -341,6 +341,7 @@ Okular::Annotation* createAnnotationFromPopplerAnnotation( Poppler::Annotation *
case Poppler::Annotation::AGeom:
case Poppler::Annotation::AHighlight:
case Poppler::Annotation::AInk:
case Poppler::Annotation::ACaret:
{
externallyDrawn = true;
/* fallback */

Loading…
Cancel
Save