Add missing override

This commit is contained in:
Nyall Dawson 2015-11-04 16:03:38 +11:00
parent f8256dbb38
commit 23d161d801
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ void QgsComposerLegend::updateLegend()
void QgsComposerLegend::updateItem()
{
updateFilterByMap();
update();
QgsComposerItem::updateItem();
}
bool QgsComposerLegend::writeXML( QDomElement& elem, QDomDocument & doc ) const

View File

@ -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.