X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fgeometryval.cpp;h=7fa246e65c99893f9003940ea58f35efe66ccfea;hb=eb9ff9e83c9731da1706ad862095629675427022;hp=2c52f685779f5ebdea333507bb47eaa163c5b95e;hpb=3c98191107f87acbb743c4d17d4db51836ff3317;p=kdenlive diff --git a/src/geometryval.cpp b/src/geometryval.cpp index 2c52f685..7fa246e6 100644 --- a/src/geometryval.cpp +++ b/src/geometryval.cpp @@ -29,7 +29,7 @@ #include -Geometryval::Geometryval(const MltVideoProfile &profile, Timecode t, QPoint frame_size, int startPoint, QWidget* parent) : +Geometryval::Geometryval(const MltVideoProfile &profile, const Timecode &t, const QPoint &frame_size, int startPoint, QWidget* parent) : QWidget(parent), m_profile(profile), m_paramRect(NULL), @@ -489,7 +489,7 @@ void Geometryval::slotResetPosition() } } -void Geometryval::setFrameSize(QPoint p) +void Geometryval::setFrameSize(const QPoint &p) { m_frameSize = p; } @@ -584,3 +584,5 @@ void Geometryval::slotUpdateRange(int inPoint, int outPoint) m_helper->update(); m_timePos.setRange(0, outPoint - inPoint - 1); } + +#include "geometryval.moc"