Add explicit

This commit is contained in:
Jonas Kvinge
2020-04-07 16:49:15 +02:00
parent 3efc496c41
commit 21b2193cd0
199 changed files with 337 additions and 342 deletions

View File

@@ -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_; }