Commit 095f2060 authored by Kai Koehne's avatar Kai Koehne
Browse files

QuickDesigner: Fix compiler warning

Reviewed-by: Thomas Hartmann
parent a68fffd0
......@@ -403,9 +403,16 @@ static inline QColor invertColor(const QColor color)
return c;
}
GradientLine::GradientLine(QWidget *parent) : QWidget(parent), m_activeColor(Qt::black), m_gradientName("gradient"),
m_dragActive(false), m_yOffset(0), m_create(false),
m_active(false), m_colorIndex(0), m_dragOff(false)
GradientLine::GradientLine(QWidget *parent) :
QWidget(parent),
m_activeColor(Qt::black),
m_gradientName("gradient"),
m_colorIndex(0),
m_dragActive(false),
m_yOffset(0),
m_create(false),
m_active(false),
m_dragOff(false)
{
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
setFocusPolicy(Qt::StrongFocus);
......
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