Skip to content
Permalink
Browse files

Add missing overrides

  • Loading branch information
nyalldawson committed Sep 10, 2015
1 parent f3c7d85 commit e2684a444b3a725c2cfce17c585c9d4b8f7cfc24
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/gui/qgspixmaplabel.h
  2. +1 −1 src/providers/ogr/qgsogrprovider.h
@@ -34,18 +34,18 @@ class QgsPixmapLabel : public QLabel
* @param width The width for the widget
* @return An appropriate height
*/
virtual int heightForWidth( int width ) const;
virtual int heightForWidth( int width ) const override;

/**
* An optimal size for the widget. Effectively using the height
* determined from the width with the given aspect ratio.
* @return A size hint
*/
virtual QSize sizeHint() const;
virtual QSize sizeHint() const override;

public slots:
void setPixmap( const QPixmap & );
void resizeEvent( QResizeEvent * );
void resizeEvent( QResizeEvent * ) override;
private:
QPixmap mPixmap;
};
@@ -268,7 +268,7 @@ class QgsOgrProvider : public QgsVectorDataProvider
* E.g. in case a shapefile is replaced, the old file will be closed
* and the new file will be opened.
*/
void forceReload();
void forceReload() override;

protected:
/** Loads fields from input file to member attributeFields */

0 comments on commit e2684a4

Please sign in to comment.
You can’t perform that action at this time.