Skip to content

Commit

Permalink
Also registry HTML annotation when webkit isn't available
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 30, 2017
1 parent 6bffa17 commit f80b92a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/annotations/qgsannotationregistry.h
Expand Up @@ -88,9 +88,7 @@ class CORE_EXPORT QgsAnnotationRegistry
QgsAnnotationRegistry()
{
addAnnotationType( QgsAnnotationMetadata( QStringLiteral( "TextAnnotationItem" ), QgsTextAnnotation::create ) );
#ifdef WITH_QTWEBKIT
addAnnotationType( QgsAnnotationMetadata( QStringLiteral( "HtmlAnnotationItem" ), QgsHtmlAnnotation::create ) );
#endif
addAnnotationType( QgsAnnotationMetadata( QStringLiteral( "SVGAnnotationItem" ), QgsSvgAnnotation::create ) );
}

Expand Down

0 comments on commit f80b92a

Please sign in to comment.