diff --git a/conf/editannottooldialog.cpp b/conf/editannottooldialog.cpp index 64a01ab59..77bd1ba6a 100644 --- a/conf/editannottooldialog.cpp +++ b/conf/editannottooldialog.cpp @@ -131,7 +131,7 @@ QDomDocument EditAnnotToolDialog::toolXml() const toolElement.appendChild( engineElement ); engineElement.appendChild( annotationElement ); - const QString color = m_stubann->style().color().name(); + const QString color = m_stubann->style().color().name( QColor::HexArgb ); const QString opacity = QString::number( m_stubann->style().opacity() ); const QString width = QString::number( m_stubann->style().width() ); diff --git a/core/annotations.cpp b/core/annotations.cpp index 3ac567063..b480182e6 100644 --- a/core/annotations.cpp +++ b/core/annotations.cpp @@ -750,7 +750,7 @@ void Annotation::store( QDomNode & annNode, QDomDocument & document ) const if ( d->m_flags ) // Strip internal flags e.setAttribute( QStringLiteral("flags"), d->m_flags & ~(External | ExternallyDrawn | BeingMoved | BeingResized ) ); if ( d->m_style.color().isValid() ) - e.setAttribute( QStringLiteral("color"), d->m_style.color().name() ); + e.setAttribute( QStringLiteral("color"), d->m_style.color().name( QColor::HexArgb ) ); if ( d->m_style.opacity() != 1.0 ) e.setAttribute( QStringLiteral("opacity"), QString::number( d->m_style.opacity() ) ); diff --git a/ui/data/tools.xml b/ui/data/tools.xml index 1fd590481..2848b2049 100644 --- a/ui/data/tools.xml +++ b/ui/data/tools.xml @@ -19,37 +19,37 @@ Engine/Annotation Types [specific attributes]: - + 1 - + 2 - + 3 - + 4 - + 5 - + 6 @@ -61,13 +61,13 @@ Engine/Annotation Types [specific attributes]: - + 8 - + 9