clang-tidy: Apply modernize-use-override everywhere (#6439)
... to mark overriding functions `override` instead of `virtual`.
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
m_previewInstrumentTrack->setPreviewMode( true );
|
||||
}
|
||||
|
||||
virtual ~PreviewTrackContainer()
|
||||
~PreviewTrackContainer() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~SideBarButton() = default;
|
||||
~SideBarButton() override = default;
|
||||
|
||||
Qt::Orientation orientation() const
|
||||
{
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
virtual ~AutoDetectMidiController()
|
||||
~AutoDetectMidiController() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user