Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 16, 2017
1 parent eac1096 commit 6e40b88
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/gui/qgsprojectionselectiontreewidget.sip
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class QgsProjectionSelectionTreeWidget : QWidget
.. seealso:: previewRect()
%End

const QgsRectangle previewRect();
QgsRectangle previewRect() const;
%Docstring
The initial "preview" rectangle for the bounds overview map.
.. versionadded:: 3.0
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgscoordinatereferencesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ int QgsCoordinateReferenceSystem::syncDatabase()
}

QTextStream lines( &csv );
QString header = lines.readLine();
( void )lines.readLine(); // header line

for ( ;; )
{
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsprojectionselectiontreewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ void QgsProjectionSelectionTreeWidget::setPreviewRect( const QgsRectangle &rect
mVertexMarker->show();
}

const QgsRectangle QgsProjectionSelectionTreeWidget::previewRect()
QgsRectangle QgsProjectionSelectionTreeWidget::previewRect() const
{
return mPreviewRect;
}
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsprojectionselectiontreewidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class GUI_EXPORT QgsProjectionSelectionTreeWidget : public QWidget, private Ui::
* \since QGIS 3.0
* \see previewRect()
*/
const QgsRectangle previewRect();
QgsRectangle previewRect() const;

/**
* \brief filters this widget by the given CRSs
Expand Down
1 change: 0 additions & 1 deletion src/ui/qgsprojectionselectorbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@
<height>16777215</height>
</size>
</property>
<zorder>mExtentsLabel</zorder>
</widget>
</item>
</layout>
Expand Down

1 comment on commit 6e40b88

@NathanW2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh man I suck today :)

Please sign in to comment.