Navigation Menu

Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Something something Monday something... :)
  • Loading branch information
NathanW2 committed Oct 16, 2017
1 parent cf241f5 commit eac1096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/qgscoordinatereferencesystem.cpp
Expand Up @@ -2130,7 +2130,7 @@ int QgsCoordinateReferenceSystem::syncDatabase()
continue;
}
const QStringList data = line.split( ',' );
if ( data[0] == QStringListIterator( "None" ) )
if ( data[0] == QStringLiteral( "None" ) )
continue;

double west_bound_lon = data[1].toDouble();
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsprojectionselectiontreewidget.cpp
Expand Up @@ -315,7 +315,7 @@ void QgsProjectionSelectionTreeWidget::setCrs( const QgsCoordinateReferenceSyste
}
}

void QgsProjectionSelectionTreeWidget::setPreviewRect( QgsRectangle rect )
void QgsProjectionSelectionTreeWidget::setPreviewRect( const QgsRectangle &rect )
{
mPreviewRect = rect;
mPreviewBand2->setToGeometry( QgsGeometry::fromRect( mPreviewRect ), nullptr );
Expand All @@ -324,7 +324,7 @@ void QgsProjectionSelectionTreeWidget::setPreviewRect( QgsRectangle rect )
mVertexMarker->show();
}

QgsRectangle QgsProjectionSelectionTreeWidget::previewRect()
const QgsRectangle QgsProjectionSelectionTreeWidget::previewRect()

This comment has been minimized.

Copy link
@m-kuhn

m-kuhn Oct 16, 2017

Member

That should very likely go to the end of the line.

This comment has been minimized.

Copy link
@NathanW2

NathanW2 Oct 16, 2017

Author Member

Yeah Nyall has already fixed it.

{
return mPreviewRect;
}
Expand Down

0 comments on commit eac1096

Please sign in to comment.