diff --git a/src/app/qgsoptions.cpp b/src/app/qgsoptions.cpp index 057e209ade6..414ac2f035c 100644 --- a/src/app/qgsoptions.cpp +++ b/src/app/qgsoptions.cpp @@ -375,10 +375,9 @@ void QgsOptions::on_pbnSelectProjection_clicked() if ( mySelector->exec() ) { - QgsDebugMsg( "------ Global Default Projection Selection Set ----------" ); //! @todo changes this control name in gui to txtGlobalProjString txtGlobalWKT->setText( mySelector->selectedProj4String() ); - QgsDebugMsg( QString( "------ Global Default Projection now set to ----------\n%1" ).arg( mGlobalCRSID ) ); + QgsDebugMsg( QString( "------ Global Default Projection Selection set to ----------\n%1" ).arg( txtGlobalWKT->toPlainText() ) ); } else { diff --git a/src/app/qgsoptions.h b/src/app/qgsoptions.h index 985b5200ab4..3d5e2d90161 100644 --- a/src/app/qgsoptions.h +++ b/src/app/qgsoptions.h @@ -93,9 +93,6 @@ class QgsOptions : public QDialog, private Ui::QgsOptionsBase // QStringList i18nList(); - //!Global default projection used for new layers added that have no projection - long mGlobalCRSID; - //!Default proj4 string used for new layers added that have no projection QString mGlobalProj4String;