]> git.sesse.net Git - kdenlive/blobdiff - src/colorpickerwidget.h
const'ref.
[kdenlive] / src / colorpickerwidget.h
index 71e38af4ba2b76d10676424a56e01a8c75d39184..def14f1f79f9b666a90130248456dd6a15eabcaf 100644 (file)
@@ -58,7 +58,7 @@ class ColorPickerWidget : public QWidget
 
 public:
     /** @brief Sets up the widget. */
-    ColorPickerWidget(QWidget *parent = 0);
+    explicit ColorPickerWidget(QWidget *parent = 0);
     /** @brief Makes sure the event filter is removed. */
     virtual ~ColorPickerWidget();
 
@@ -95,7 +95,7 @@ private slots:
     void slotGetAverageColor();
 
 signals:
-    void colorPicked(QColor);
+    void colorPicked(const QColor&);
     void displayMessage(const QString&, int);
     /** @brief When user wants to pick a color, it's better to disable filter so we get proper color values. */
     void disableCurrentFilter(bool);