X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcornerswidget.h;h=27facd4c1935136d98ba32a077771ad48b9620ec;hb=1404e8f1d631c81399e0e92ffce7dfac0195fabb;hp=1cad4610bea0c154809d102a11bc3a136e8e46ad;hpb=ff57a79c5515bf467bdd6abf0e011549a96d98e2;p=kdenlive diff --git a/src/cornerswidget.h b/src/cornerswidget.h index 1cad4610..27facd4c 100644 --- a/src/cornerswidget.h +++ b/src/cornerswidget.h @@ -40,10 +40,10 @@ public: * @param isEffect true if used in an effect, false if used in a transition * @param factor Factor by which the parameters differ from the range 0-1 * @param parent (optional) Parent widget */ - explicit CornersWidget(Monitor *monitor, const QDomElement &e, int minFrame, int maxFrame, Timecode tc, int activeKeyframe, QWidget* parent = 0); + explicit CornersWidget(Monitor *monitor, const QDomElement &e, int minFrame, int maxFrame, const Timecode &tc, int activeKeyframe, QWidget* parent = 0); virtual ~CornersWidget(); - virtual void addParameter(QDomElement e, int activeKeyframe = -1); + virtual void addParameter(const QDomElement &e, int activeKeyframe = -1); public slots: /** @brief Updates the on-monitor item. */