Skip to content

Commit

Permalink
Fixed browsing/testing of custom projections
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5935 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Oct 9, 2006
1 parent fe233b7 commit d0d7a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgscustomprojectiondialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ void QgsCustomProjectionDialog::on_pbnNext_clicked()
//cboProjectionFamily->setCurrentText(getProjectionFamilyName(myProjectionFamilyId));
//QString myEllipsoidId = QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,3));
//cboEllipsoid->setCurrentText(getEllipsoidName(myEllipsoidId));
//leParameters->setText(QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,4)));
leParameters->setText(QString::fromUtf8((char *)sqlite3_column_text(myPreparedStatement,4)));
++mCurrentRecordLong;
lblRecordNo->setText(QString::number(mCurrentRecordLong) + " of " + QString::number(mRecordCountLong));
}
Expand Down Expand Up @@ -927,7 +927,7 @@ void QgsCustomProjectionDialog::on_pbnCalculate_clicked()

double z = 0.0;

int projResult = pj_transform(wgs84Proj, myProj, 1, 0, &northing, &easthing, &z);
int projResult = pj_transform(wgs84Proj, myProj, 1, 0, &easthing, &northing, &z);
if ( projResult != 0 )
{
projectedX->setText("Error");
Expand Down

0 comments on commit d0d7a5f

Please sign in to comment.