X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkis_curve_widget.h;h=200db10631c01cae46887da2408fce9bfb329aaf;hb=2f9294f5de103de1a1a081375470da3571302d06;hp=8c679fa0ec9a829c252cd82fc3d6295d83b2b03b;hpb=5143c0fd6b774ee8a036427bb1630126270a6364;p=kdenlive diff --git a/src/kis_curve_widget.h b/src/kis_curve_widget.h index 8c679fa0..200db106 100644 --- a/src/kis_curve_widget.h +++ b/src/kis_curve_widget.h @@ -56,7 +56,7 @@ public: * Create a new curve widget with a default curve, that is a straight * line from bottom-left to top-right. */ - KisCurveWidget(QWidget *parent = 0, Qt::WFlags f = 0); + explicit KisCurveWidget(QWidget *parent = 0, Qt::WFlags f = 0); virtual ~KisCurveWidget(); @@ -82,6 +82,8 @@ public: */ void setPixmap(const QPixmap & pix); + virtual QSize sizeHint() const; + signals: /**