mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 03:32:13 +00:00
black can be a valid color, so don't discard it when saving
svn path=/trunk/playground/graphics/okular/; revision=605980
This commit is contained in:
parent
bd1880e42d
commit
abb20bfe6c
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ void Annotation::store( QDomNode & annNode, QDomDocument & document ) const
|
|||
// store -other- attributes
|
||||
if ( flags )
|
||||
e.setAttribute( "flags", flags );
|
||||
if ( style.color.isValid() && style.color != Qt::black )
|
||||
if ( style.color.isValid() )
|
||||
e.setAttribute( "color", style.color.name() );
|
||||
if ( style.opacity != 1.0 )
|
||||
e.setAttribute( "opacity", style.opacity );
|
||||
|
|
Loading…
Reference in a new issue