Skip to content

Commit

Permalink
Add missing override
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 4, 2015
1 parent f8256db commit 23d161d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerlegend.cpp
Expand Up @@ -304,7 +304,7 @@ void QgsComposerLegend::updateLegend()
void QgsComposerLegend::updateItem()
{
updateFilterByMap();
update();
QgsComposerItem::updateItem();
}

bool QgsComposerLegend::writeXML( QDomElement& elem, QDomDocument & doc ) const
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerlegend.h
Expand Up @@ -94,7 +94,7 @@ class CORE_EXPORT QgsComposerLegend : public QgsComposerItem

//! Update() overloading. Use it rather than update()
//! @note added in 2.12
virtual void updateItem();
virtual void updateItem() override;

//! When set to true, during an atlas rendering, it will filter out legend elements
//! where features are outside the current atlas feature.
Expand Down

0 comments on commit 23d161d

Please sign in to comment.