[vlc-commits] qt: add missing override specifiers

Marvin Scholz git at videolan.org
Mon Dec 9 16:34:57 CET 2019


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Nov 22 00:48:02 2019 +0100| [498e3445026f53e68298b080aafcfc808af95b14] | committer: Marvin Scholz

qt: add missing override specifiers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=498e3445026f53e68298b080aafcfc808af95b14
---

 modules/gui/qt/components/mediacenter/ml_folders_model.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/components/mediacenter/ml_folders_model.hpp b/modules/gui/qt/components/mediacenter/ml_folders_model.hpp
index 2ef0f568bb..b1f9303e51 100644
--- a/modules/gui/qt/components/mediacenter/ml_folders_model.hpp
+++ b/modules/gui/qt/components/mediacenter/ml_folders_model.hpp
@@ -44,10 +44,10 @@ public:
 
     QVariant data( QModelIndex const &index , const int role = Qt::DisplayRole ) const  override;
 
-    Qt::ItemFlags flags ( const QModelIndex & index ) const ;
+    Qt::ItemFlags flags ( const QModelIndex & index ) const override;
 
     bool setData( const QModelIndex &index , const QVariant &value ,
-                 int role );
+                 int role ) override;
 
     static void onMlEvent( void* data , const vlc_ml_event_t* event );
     QVariant headerData( int section , Qt::Orientation orientation , int role ) const override;



More information about the vlc-commits mailing list