[poppler] qt4/src

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Jun 8 16:33:34 PDT 2012


 qt4/src/poppler-annotation.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4f2ac544f36aa11747c3e13ff69fc19bdd0136dc
Author: Fabio D'Urso <fabiodurso at hotmail.it>
Date:   Sat Jun 9 01:31:29 2012 +0200

    Fix saving to xml
    
    The default icon is Note not comment

diff --git a/qt4/src/poppler-annotation.cc b/qt4/src/poppler-annotation.cc
index 59db52d..c9a2850 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() );


More information about the poppler mailing list