Navigation Menu

Skip to content

Commit

Permalink
reverted patch from r7112 since we are in feature freeze
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7114 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 30, 2007
1 parent c948815 commit 227ce81
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions python/gui/qgisinterface.sip
Expand Up @@ -81,9 +81,6 @@ class QgisInterface : QObject
/** Return a pointer to the toolbox (where additional pages can be inserted) */
virtual QToolBox* getToolBox()=0;

/** refresh legend of a layer */
virtual void refreshLegend( QgsMapLayer * layer )=0;

signals:
/** Emited whenever current (selected) layer changes.
* The pointer to layer can be null if no layer is selected
Expand Down
5 changes: 0 additions & 5 deletions src/app/qgisappinterface.cpp
Expand Up @@ -140,8 +140,3 @@ QToolBox* QgisAppInterface::getToolBox()
{
return qgis->toolBox;
}

void QgisAppInterface::refreshLegend(QgsMapLayer *l)
{
qgis->legend()->refreshLayerSymbology(l->getLayerID());
}
3 changes: 0 additions & 3 deletions src/app/qgisappinterface.h
Expand Up @@ -104,9 +104,6 @@ class QgisAppInterface : public QgisInterface
/** Return a pointer to the toolbox (where additional pages can be inserted) */
virtual QToolBox* getToolBox();

/** refresh the legend of a layer */
virtual void refreshLegend(QgsMapLayer *l);

private:

/// QgisInterface aren't copied
Expand Down
3 changes: 0 additions & 3 deletions src/gui/qgisinterface.h
Expand Up @@ -113,9 +113,6 @@ class GUI_EXPORT QgisInterface : public QObject
/** Return a pointer to the toolbox (where additional pages can be inserted) */
virtual QToolBox* getToolBox()=0;

/** refresh the legend of a layer */
virtual void refreshLegend(QgsMapLayer *l)=0;

signals:
/** Emited whenever current (selected) layer changes.
* The pointer to layer can be null if no layer is selected
Expand Down

0 comments on commit 227ce81

Please sign in to comment.