clang-tidy: Apply modernize-use-override everywhere (#6439)

... to mark overriding functions `override` instead of `virtual`.
This commit is contained in:
Levin Oehlmann
2022-06-19 23:03:55 +02:00
committed by GitHub
parent 7227c89847
commit 5904b249c0
273 changed files with 765 additions and 765 deletions

View File

@@ -53,7 +53,7 @@ public:
m_previewInstrumentTrack->setPreviewMode( true );
}
virtual ~PreviewTrackContainer()
~PreviewTrackContainer() override
{
}

View File

@@ -113,7 +113,7 @@ MixerView::MixerView() :
public:
ChannelArea( QWidget * parent, MixerView * mv ) :
QScrollArea( parent ), m_mv( mv ) {}
~ChannelArea() {}
~ChannelArea() override {}
void keyPressEvent( QKeyEvent * e ) override
{
m_mv->keyPressEvent( e );

View File

@@ -41,13 +41,13 @@ public:
m_table( table )
{
}
virtual void paint( QPainter * painter,
void paint( QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & index ) const override;
protected:
virtual void initStyleOption( QStyleOptionViewItem * option,
void initStyleOption( QStyleOptionViewItem * option,
const QModelIndex & index ) const override;

View File

@@ -44,7 +44,7 @@ public:
{
}
virtual ~SideBarButton() = default;
~SideBarButton() override = default;
Qt::Orientation orientation() const
{

View File

@@ -60,7 +60,7 @@ public:
}
virtual ~AutoDetectMidiController()
~AutoDetectMidiController() override
{
}