diff options
author | Fabio D'Urso <fabiodurso@hotmail.it> | 2012-06-09 01:31:29 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2012-06-09 01:32:21 +0200 |
commit | bde31ce7b223abc86d25e06f3d73668b792c70df (patch) | |
tree | 533fc3f45ef4785be3e09b5f29b7460675a0f36b /qt4 | |
parent | 9904b8f10abf068a7816bd90976ccbb320387645 (diff) |
Fix saving to xml
The default icon is Note not comment
Diffstat (limited to 'qt4')
-rw-r--r-- | qt4/src/poppler-annotation.cc | 2 |
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() ); |