summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-09-03 00:50:28 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-09-03 01:49:48 (GMT)
commitd3e078acad59c523ba81b73a9624988b7537b772 (patch)
tree8618e6fd4f3f1f7bf6d50310cdfabd0356249d7a
parent24b06b04059b55018a84ca9423d528c8a09e320d (diff)
Use QStringLiteral with setStyleUrl
-rw-r--r--src/plugins/render/annotate/AnnotatePlugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/render/annotate/AnnotatePlugin.cpp b/src/plugins/render/annotate/AnnotatePlugin.cpp
index 99b823f..fbe8f10 100644
--- a/src/plugins/render/annotate/AnnotatePlugin.cpp
+++ b/src/plugins/render/annotate/AnnotatePlugin.cpp
@@ -1232,7 +1232,7 @@ void AnnotatePlugin::displayOverlayFrame( GeoDataGroundOverlay *overlay )
GeoDataPlacemark *rectangle_placemark = new GeoDataPlacemark;
rectangle_placemark->setGeometry( polygon );
rectangle_placemark->setParent( m_annotationDocument );
- rectangle_placemark->setStyleUrl( "#polygon" );
+ rectangle_placemark->setStyleUrl(QStringLiteral("#polygon"));
m_marbleWidget->model()->treeModel()->addFeature( m_annotationDocument, rectangle_placemark );
@@ -1332,7 +1332,7 @@ void AnnotatePlugin::addPolygon()
m_polygonPlacemark = new GeoDataPlacemark;
m_polygonPlacemark->setGeometry( poly );
m_polygonPlacemark->setParent( m_annotationDocument );
- m_polygonPlacemark->setStyleUrl( "#polygon" );
+ m_polygonPlacemark->setStyleUrl(QStringLiteral("#polygon"));
m_marbleWidget->model()->treeModel()->addFeature( m_annotationDocument, m_polygonPlacemark );
@@ -1591,7 +1591,7 @@ void AnnotatePlugin::addPolyline()
m_polylinePlacemark = new GeoDataPlacemark;
m_polylinePlacemark->setGeometry( new GeoDataLineString( Tessellate ) );
m_polylinePlacemark->setParent( m_annotationDocument );
- m_polylinePlacemark->setStyleUrl( "#polyline" );
+ m_polylinePlacemark->setStyleUrl(QStringLiteral("#polyline"));
m_marbleWidget->model()->treeModel()->addFeature( m_annotationDocument, m_polylinePlacemark );