Skip to content
Permalink
Browse files

Fix compiler warning about use of deprecated crs.epsg() call

  • Loading branch information
timlinux committed Sep 12, 2012
1 parent 2096813 commit 6873b31757547c8e95e16ac2a35f5847bbf7338a
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/plugins/georeferencer/qgsgeorefplugingui.cpp
@@ -1125,16 +1125,15 @@ void QgsGeorefPluginGui::addRaster( QString file )
mActionFullHistogramStretch->setEnabled(true);

// Status Bar
QString sEpsg("ESPG: %1");
if ( mGeorefTransform.hasCrs() )
{
long epsg = mLayer->crs().epsg();
mEPSG->setText( sEpsg.arg( epsg ) );
QString authid = mLayer->crs().authid();
mEPSG->setText( authid );
mEPSG->setToolTip( mLayer->crs().toProj4() );
}
else
{
mEPSG->setText( sEpsg.arg( tr("None") ) );
mEPSG->setText( tr("None") );
mEPSG->setToolTip( tr("Coordinate of image(column/line)") );
}
}

0 comments on commit 6873b31

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