Fixes for CodeFactor
Remove virtual keyword from methods that are marked as override. Remove whitespaces that make CodeFactor unhappy. One of these fixes includes moving the implementation of LadspaMatrixControlDialog::isResizable into the cpp file.
This commit is contained in:
@@ -47,9 +47,9 @@ public:
|
||||
// Define how the widget will behave in a layout
|
||||
QSizePolicy sizePolicy() const;
|
||||
|
||||
virtual QSize minimumSizeHint() const override;
|
||||
QSize minimumSizeHint() const override;
|
||||
|
||||
virtual QSize sizeHint() const override;
|
||||
QSize sizeHint() const override;
|
||||
|
||||
QBrush const & getBackgroundBrush() const;
|
||||
void setBackgroundBrush(QBrush const & backgroundBrush);
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
void setTextColor(QColor const & textColor);
|
||||
|
||||
protected:
|
||||
virtual void paintEvent(QPaintEvent *event) override;
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
|
||||
private:
|
||||
QString const m_text;
|
||||
|
||||
@@ -52,7 +52,6 @@ class LMMS_EXPORT FloatModelEditorBase : public QWidget, public FloatModelView
|
||||
void initUi( const QString & _name ); //!< to be called by ctors
|
||||
|
||||
public:
|
||||
|
||||
enum class DirectionOfManipulation
|
||||
{
|
||||
Vertical,
|
||||
|
||||
Reference in New Issue
Block a user