mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Fix warnings
This commit is contained in:
parent
eac1096078
commit
6e40b88fd7
@ -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
|
||||
|
@ -2117,7 +2117,7 @@ int QgsCoordinateReferenceSystem::syncDatabase()
|
||||
}
|
||||
|
||||
QTextStream lines( &csv );
|
||||
QString header = lines.readLine();
|
||||
( void )lines.readLine(); // header line
|
||||
|
||||
for ( ;; )
|
||||
{
|
||||
|
@ -324,7 +324,7 @@ void QgsProjectionSelectionTreeWidget::setPreviewRect( const QgsRectangle &rect
|
||||
mVertexMarker->show();
|
||||
}
|
||||
|
||||
const QgsRectangle QgsProjectionSelectionTreeWidget::previewRect()
|
||||
QgsRectangle QgsProjectionSelectionTreeWidget::previewRect() const
|
||||
{
|
||||
return mPreviewRect;
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -309,7 +309,6 @@
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<zorder>mExtentsLabel</zorder>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user