MoodbarProxyStyle: Add const
This commit is contained in:
@@ -201,7 +201,7 @@ void MoodbarProxyStyle::drawComplexControl(ComplexControl control, const QStyleO
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoodbarProxyStyle::Render(ComplexControl control, const QStyleOptionSlider *option, QPainter *painter, const QWidget *widget) {
|
void MoodbarProxyStyle::Render(const ComplexControl control, const QStyleOptionSlider *option, QPainter *painter, const QWidget *widget) {
|
||||||
|
|
||||||
const qreal fade_value = fade_timeline_->currentValue();
|
const qreal fade_value = fade_timeline_->currentValue();
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ class MoodbarProxyStyle : public QProxyStyle {
|
|||||||
private:
|
private:
|
||||||
void NextState();
|
void NextState();
|
||||||
|
|
||||||
void Render(ComplexControl control, const QStyleOptionSlider *option, QPainter *painter, const QWidget *widget);
|
void Render(const ComplexControl control, const QStyleOptionSlider *option, QPainter *painter, const QWidget *widget);
|
||||||
void EnsureMoodbarRendered(const QStyleOptionSlider *opt);
|
void EnsureMoodbarRendered(const QStyleOptionSlider *opt);
|
||||||
void DrawArrow(const QStyleOptionSlider *option, QPainter *painter) const;
|
void DrawArrow(const QStyleOptionSlider *option, QPainter *painter) const;
|
||||||
void ShowContextMenu(const QPoint pos);
|
void ShowContextMenu(const QPoint pos);
|
||||||
@@ -92,7 +92,7 @@ class MoodbarProxyStyle : public QProxyStyle {
|
|||||||
static QPixmap MoodbarPixmap(const ColorVector &colors, const QSize size, const QPalette &palette, const QStyleOptionSlider *opt);
|
static QPixmap MoodbarPixmap(const ColorVector &colors, const QSize size, const QPalette &palette, const QStyleOptionSlider *opt);
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void FaderValueChanged(qreal value);
|
void FaderValueChanged(const qreal value);
|
||||||
void SetStyle(QAction *action);
|
void SetStyle(QAction *action);
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
|
|||||||
Reference in New Issue
Block a user