Skip to content

Commit

Permalink
remove impl. added to QGIS instead
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Sep 24, 2020
1 parent a75a5aa commit 55bae61
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions app/loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,6 @@ void Loader::setMapSettingsLayers() const
mMapSettings->setTransformContext( mProject->transformContext() );
}

// Huh, it looks like we have forgotten to add implementation of QgsQuickMapSettings::setTransformContext()
// inside QGIS Quick... fortunately, it's very simple so we have the body here and the compiler thinks
// it's just another inline function. But it should go to QGIS Quick library and once it is there,
// this implementation should go away.
void QgsQuickMapSettings::setTransformContext( const QgsCoordinateTransformContext &ctx )
{
mMapSettings.setTransformContext( ctx );
}

QgsQuickMapSettings *Loader::mapSettings() const
{
return mMapSettings;
Expand Down

0 comments on commit 55bae61

Please sign in to comment.