Add explicit
This commit is contained in:
@@ -36,7 +36,7 @@ class StickySlider : public QSlider {
|
||||
Q_PROPERTY(int sticky_threshold READ sticky_threshold WRITE set_sticky_threshold)
|
||||
|
||||
public:
|
||||
StickySlider(QWidget* parent = nullptr);
|
||||
explicit StickySlider(QWidget* parent = nullptr);
|
||||
|
||||
int sticky_center() const { return sticky_center_; }
|
||||
int sticky_threshold() const { return sticky_threshold_; }
|
||||
|
||||
Reference in New Issue
Block a user