Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove QgsMapLayer::invalidTransformInput slot
Calling slot does nothing and is not used anywhere
  • Loading branch information
nyalldawson committed Apr 10, 2017
1 parent acd8aa9 commit 1128373
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 15 deletions.
1 change: 1 addition & 0 deletions doc/api_break.dox
Expand Up @@ -1390,6 +1390,7 @@ screenUpdateRequested() were removed. These members have had no effect for a num
- asLayerDefinition(), fromLayerDefinition(), fromLayerDefinitionFile() were moved to QgsLayerDefinition class and renamed to exportLayerDefinitionLayers() resp. loadLayerDefinitionLayers()
- loadNamedStyleFromDb() was renamed to loadNamedStyleFromDatabase()
- readLayerXml() and writeLayerXml() expect QgsPathResolver reference as the last argument
- the invalidTransformInput() slot was removed - calling this slot had no effect

QgsMapOverviewCanvas {#qgis_api_break_3_0_QgsMapOverviewCanvas}
--------------------
Expand Down
5 changes: 0 additions & 5 deletions python/core/qgsmaplayer.sip
Expand Up @@ -809,11 +809,6 @@ Return pointer to layer's undo stack

public slots:

virtual void invalidTransformInput();
%Docstring
Event handler for when a coordinate transform fails due to bad vertex error
%End

void setMinimumScale( double scale );
%Docstring
Sets the minimum scale denominator at which the layer will be visible.
Expand Down
7 changes: 0 additions & 7 deletions src/core/qgsmaplayer.cpp
Expand Up @@ -830,13 +830,6 @@ bool QgsMapLayer::isValid() const
return mValid;
}


void QgsMapLayer::invalidTransformInput()
{
QgsDebugMsg( "called" );
// TODO: emit a signal - it will be used to update legend
}

#if 0
void QgsMapLayer::connectNotify( const char *signal )
{
Expand Down
3 changes: 0 additions & 3 deletions src/core/qgsmaplayer.h
Expand Up @@ -722,9 +722,6 @@ class CORE_EXPORT QgsMapLayer : public QObject

public slots:

//! Event handler for when a coordinate transform fails due to bad vertex error
virtual void invalidTransformInput();

/** Sets the minimum scale denominator at which the layer will be visible.
* Scale based visibility is only used if setScaleBasedVisibility is set to true.
* \param scale minimum scale denominator at which the layer should render
Expand Down

0 comments on commit 1128373

Please sign in to comment.