diff options
author | Albert Astals Cid <aacid@kde.org> | 2012-04-12 20:06:52 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2012-04-12 20:10:11 +0200 |
commit | 67b7b2bdd0943680437d96349c3415aa40082cbb (patch) | |
tree | 3ac98c7597da4869171be4b20b81e5af8d32c57c /qt4/src | |
parent | bf171382afb6b50284c3855e3a1815a15ec34366 (diff) |
[qt4] initialize the dummy members here too
Diffstat (limited to 'qt4/src')
-rw-r--r-- | qt4/src/poppler-annotation.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt4/src/poppler-annotation.cc b/qt4/src/poppler-annotation.cc index dfe4e37c..37b78299 100644 --- a/qt4/src/poppler-annotation.cc +++ b/qt4/src/poppler-annotation.cc @@ -1,5 +1,5 @@ /* poppler-annotation.cc: qt interface to poppler - * Copyright (C) 2006, 2009 Albert Astals Cid <aacid@kde.org> + * Copyright (C) 2006, 2009, 2012 Albert Astals Cid <aacid@kde.org> * Copyright (C) 2006, 2008, 2010 Pino Toscano <pino@kde.org> * Copyright (C) 2012, Guillermo A. Amaral B. <gamaral@kde.org> * Copyright (C) 2012, Fabio D'Urso <fabiodurso@hotmail.it> @@ -748,6 +748,8 @@ Annotation::~Annotation() Annotation::Annotation( AnnotationPrivate &dd, const QDomNode &annNode ) : d_ptr( &dd ) { + window.width = window.height = 0; + // get the [base] element of the annotation node QDomElement e = AnnotationUtils::findChildElement( annNode, "base" ); if ( e.isNull() ) |