summaryrefslogtreecommitdiff
path: root/src/shared/qtgradienteditor/qtcolorline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/qtgradienteditor/qtcolorline.h')
-rw-r--r--src/shared/qtgradienteditor/qtcolorline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/qtgradienteditor/qtcolorline.h b/src/shared/qtgradienteditor/qtcolorline.h
index 606d0fa84..6d19ed4d9 100644
--- a/src/shared/qtgradienteditor/qtcolorline.h
+++ b/src/shared/qtgradienteditor/qtcolorline.h
@@ -54,7 +54,6 @@ class QtColorLine : public QWidget
Q_PROPERTY(bool backgroundCheckered READ isBackgroundCheckered WRITE setBackgroundCheckered)
Q_PROPERTY(ColorComponent colorComponent READ colorComponent WRITE setColorComponent)
Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
- Q_ENUMS(ColorComponent)
public:
enum ColorComponent {
@@ -66,6 +65,7 @@ public:
Value,
Alpha
};
+ Q_ENUM(ColorComponent)
QSize minimumSizeHint() const;
QSize sizeHint() const;