Commit ac366209 authored by hjk's avatar hjk
Browse files

qmldesigner: compile fix for linux

parent 8bbe26c3
......@@ -358,7 +358,7 @@ class GradientLine : public QWidget {
Q_PROPERTY(bool active READ active WRITE setActive)
public:
GradientLine(QWidget *parent = 0) : QWidget(parent), m_gradientName("gradient"), m_activeColor(Qt::black), m_dragActive(false), m_yOffset(0), m_create(false), m_active(false)
GradientLine(QWidget *parent = 0) : QWidget(parent), m_activeColor(Qt::black), m_gradientName("gradient"), m_dragActive(false), m_yOffset(0), m_create(false), m_active(false)
{
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
setFocusPolicy(Qt::StrongFocus);
......@@ -408,7 +408,7 @@ signals:
void itemNodeChanged();
void gradientNameChanged();
protected:
bool GradientLine::event(QEvent *event);
bool event(QEvent *event);
void keyPressEvent(QKeyEvent * event);
void paintEvent(QPaintEvent *event);
void mousePressEvent(QMouseEvent *);
......
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