summaryrefslogtreecommitdiff
path: root/qt4/src
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:33:25 +0200
commit4f2ac544f36aa11747c3e13ff69fc19bdd0136dc (patch)
tree8dd3c71e4ca188803b0894b94af082a138b922f8 /qt4/src
parent0df0aa439eed1d9838a80942e00af08e9acabb8d (diff)
Fix saving to xml
The default icon is Note not comment
Diffstat (limited to 'qt4/src')
-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 59db52d6..c9a28509 100644
--- a/qt4/src/poppler-annotation.cc
+++ b/qt4/src/poppler-annotation.cc
@@ -1654,7 +1654,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() );