Skip to content
Permalink
Browse files
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 1128373830f3689ff074d8197bf3f56025a61eeb
Showing with 1 addition and 15 deletions.
  1. +1 −0 doc/api_break.dox
  2. +0 −5 python/core/qgsmaplayer.sip
  3. +0 −7 src/core/qgsmaplayer.cpp
  4. +0 −3 src/core/qgsmaplayer.h
@@ -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}
--------------------
@@ -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.
@@ -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 )
{
@@ -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

0 comments on commit 1128373

Please sign in to comment.