X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkeyframeedit.h;h=183d9b6a83a1249b0d8321ab0f4081a1a43c7273;hb=4ae3260592acc87712db77b7d3fe0cc2be7d76bc;hp=2da6b6d8e9da57e2d1c4567b0f7ab6262432b3ec;hpb=491b4c44111a9a7446b7bc0ad39b10a94dc2fe85;p=kdenlive diff --git a/src/keyframeedit.h b/src/keyframeedit.h index 2da6b6d8..183d9b6a 100644 --- a/src/keyframeedit.h +++ b/src/keyframeedit.h @@ -35,7 +35,8 @@ class KeyItemDelegate: public QItemDelegate { Q_OBJECT public: - KeyItemDelegate(int min, int max, QAbstractItemView* parent = 0): QItemDelegate(parent), m_min(min), m_max(max) { + KeyItemDelegate(int min, int max, QAbstractItemView* parent = 0) + : QItemDelegate(parent), m_min(min), m_max(max) { } QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const { @@ -80,7 +81,7 @@ class KeyframeEdit : public QWidget, public Ui::KeyframeEditor_UI { Q_OBJECT public: - explicit KeyframeEdit(QDomElement e, int minFrame, int maxFrame, Timecode tc, int activeKeyframe, QWidget* parent = 0); + explicit KeyframeEdit(const QDomElement &e, int minFrame, int maxFrame, const Timecode &tc, int activeKeyframe, QWidget* parent = 0); virtual ~KeyframeEdit(); virtual void addParameter(QDomElement e, int activeKeyframe = -1); const QString getValue(const QString &name);