summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio D'Urso <fabiodurso@hotmail.it>2012-06-09 01:31:29 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-06-09 01:32:21 +0200
commitbde31ce7b223abc86d25e06f3d73668b792c70df (patch)
tree533fc3f45ef4785be3e09b5f29b7460675a0f36b
parent9904b8f10abf068a7816bd90976ccbb320387645 (diff)
Fix saving to xml
The default icon is Note not comment
-rw-r--r--qt4/src/poppler-annotation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt4/src/poppler-annotation.cc b/qt4/src/poppler-annotation.cc
index 4d7cd847..0edb4afb 100644
--- a/qt4/src/poppler-annotation.cc
+++ b/qt4/src/poppler-annotation.cc
@@ -1662,7 +1662,7 @@ void TextAnnotation::store( QDomNode & node, QDomDocument & document ) const
// store the optional attributes
if ( textType() != Linked )
textElement.setAttribute( "type", (int)textType() );
- if ( textIcon() != "Comment" )
+ if ( textIcon() != "Note" )
textElement.setAttribute( "icon", textIcon() );
if ( inplaceAlign() )
textElement.setAttribute( "align", inplaceAlign() );