Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0f408b5b authored by Jason Wood's avatar Jason Wood

Fixed warnings due to wrong parameter initialisation order in constructor.

svn path=/trunk/kdenlive/; revision=312
parent c2b083cc
......@@ -338,11 +338,11 @@ KRuler::KRuler(int min, int max, double scale, KRulerModel *model, QWidget *pare
QWidget(parent, name),
m_sizeHint(500, 32),
m_backBuffer(500, 32),
m_leftMostPixel(0),
m_rulerModel(0),
d(new KRulerPrivate()),
m_minValue(min),
m_maxValue(max),
d(new KRulerPrivate()),
m_rulerModel(0),
m_leftMostPixel(0),
m_scrollTimer(this, "scroll timer")
{
setRulerModel(model);
......@@ -370,11 +370,11 @@ KRuler::KRuler(KRulerModel *model, QWidget *parent, const char *name ) :
QWidget(parent,name),
m_sizeHint(500, 32),
m_backBuffer(500, 32),
m_leftMostPixel(0),
m_rulerModel(0),
d(new KRulerPrivate()),
m_minValue(0),
m_maxValue(100),
d(new KRulerPrivate()),
m_rulerModel(0),
m_leftMostPixel(0),
m_scrollTimer(this, "scroll timer")
{
setRulerModel(model);
......@@ -402,11 +402,11 @@ KRuler::KRuler(QWidget *parent, const char *name ) :
QWidget(parent,name),
m_sizeHint(500, 32),
m_backBuffer(500, 32),
m_leftMostPixel(0),
m_rulerModel(0),
d(new KRulerPrivate()),
m_minValue(0),
m_maxValue(0),
d(new KRulerPrivate()),
m_rulerModel(0),
m_leftMostPixel(0),
m_scrollTimer(this, "scroll timer")
{
setRulerModel(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment