Commit f5a37db6 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Utils: Fix colorbutton slot warning.

Fix up e8cc9963.
parent 68dd1284
......@@ -45,7 +45,13 @@ class QtColorButtonPrivate: public QObject
Q_OBJECT
QtColorButton *q_ptr;
Q_DECLARE_PUBLIC(QtColorButton)
public slots:
void slotEditColor();
public:
QColor shownColor() const;
QPixmap generatePixmap() const;
QColor m_color;
#ifndef QT_NO_DRAGANDDROP
QColor m_dragColor;
......@@ -54,10 +60,6 @@ public:
#endif
bool m_backgroundCheckered;
bool m_alphaAllowed;
void slotEditColor();
QColor shownColor() const;
QPixmap generatePixmap() const;
};
void QtColorButtonPrivate::slotEditColor()
......@@ -132,7 +134,7 @@ QtColorButton::QtColorButton(QWidget *parent)
setAcceptDrops(true);
connect(this, SIGNAL(clicked()), this, SLOT(slotEditColor()));
connect(this, SIGNAL(clicked()), d_ptr, SLOT(slotEditColor()));
setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred));
}
......
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