Commit a4cd48aa authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use QStringLiteral with PlanetFactory::construct

parent 1c2ef0e7
......@@ -22,7 +22,7 @@ namespace Marble {
GeoUriParser::GeoUriParser( const QString& geoUri )
: m_geoUri( geoUri ),
m_coordinates(),
m_planet( PlanetFactory::construct( "earth" ) )
m_planet(PlanetFactory::construct(QStringLiteral("earth")))
{
}
......@@ -30,7 +30,7 @@ void GeoUriParser::setGeoUri( const QString &geoUri )
{
m_geoUri = geoUri;
m_coordinates = GeoDataCoordinates();
m_planet = PlanetFactory::construct( "earth" );
m_planet = PlanetFactory::construct(QStringLiteral("earth"));
}
QString GeoUriParser::geoUri() const
......
......@@ -78,7 +78,7 @@ class MarbleModelPrivate
public:
MarbleModelPrivate()
: m_clock(),
m_planet( PlanetFactory::construct( "earth" ) ),
m_planet(PlanetFactory::construct(QStringLiteral("earth"))),
m_sunLocator( &m_clock, &m_planet ),
m_pluginManager(),
m_homePoint( -9.4, 54.8, 0.0, GeoDataCoordinates::Degree ), // Some point that tackat defined. :-)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment