Skip to content
Permalink
Browse files

Remove default QGIS rocks text

  • Loading branch information
NathanW2 committed Oct 22, 2015
1 parent 76ba841 commit c7eef14d6224b221e4d688ac83b9c45c5fcc56aa
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgstextannotationitem.cpp
@@ -19,7 +19,7 @@
#include <QDomDocument>
#include <QPainter>

QgsTextAnnotationItem::QgsTextAnnotationItem( QgsMapCanvas* canvas ): QgsAnnotationItem( canvas ), mDocument( new QTextDocument( QObject::tr( "QGIS rocks!" ) ) )
QgsTextAnnotationItem::QgsTextAnnotationItem( QgsMapCanvas* canvas ): QgsAnnotationItem( canvas ), mDocument( new QTextDocument( QObject::tr( "" ) ) )

This comment has been minimized.

Copy link
@nyalldawson

nyalldawson Oct 22, 2015

Collaborator

Tr("") ? Interesting to see how that one's translated ;)

This comment has been minimized.

Copy link
@NathanW2

NathanW2 via email Oct 22, 2015

Author Member
{
mDocument->setUseDesignMetrics( true );
}
@@ -101,7 +101,7 @@ void QgsTextAnnotationItem::readXML( const QDomDocument& doc, const QDomElement&
{
delete mDocument;
mDocument = new QTextDocument;
mDocument->setHtml( itemElem.attribute( "document", QObject::tr( "<html>QGIS rocks!</html>" ) ) );
mDocument->setHtml( itemElem.attribute( "document", QObject::tr( "" ) ) );
QDomElement annotationElem = itemElem.firstChildElement( "AnnotationItem" );
if ( !annotationElem.isNull() )
{

1 comment on commit c7eef14

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson commented on c7eef14 Oct 22, 2015

+100!

Please sign in to comment.
You can’t perform that action at this time.