mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-10 00:13:55 -04:00
Also registry HTML annotation when webkit isn't available
This commit is contained in:
parent
6bffa17cc2
commit
f80b92a23f
@ -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 ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user