X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fclipproperties.h;h=e3a93702a4492e9ba9d69abb39708381c10aeb97;hb=b2f37cecd90d42af8cc8f655462c91cf6624cb01;hp=dd41577328132d1775f36667f92fcaaf99c6bd6b;hpb=eb9ff9e83c9731da1706ad862095629675427022;p=kdenlive diff --git a/src/clipproperties.h b/src/clipproperties.h index dd415773..e3a93702 100644 --- a/src/clipproperties.h +++ b/src/clipproperties.h @@ -32,7 +32,9 @@ class PropertiesViewDelegate : public QStyledItemDelegate { Q_OBJECT public: - PropertiesViewDelegate(QWidget *parent) : QStyledItemDelegate(parent) { + PropertiesViewDelegate(QWidget *parent) + : QStyledItemDelegate(parent) + { m_height = parent->fontMetrics().height() * 1.2; } protected: @@ -100,7 +102,7 @@ private: void loadVideoProperties(const QMap &props); signals: - void addMarkers(const QString &, QList ); + void addMarkers(const QString &, const QList &); void deleteProxy(const QString&); void applyNewClipProperties(const QString&, const QMap &, const QMap &, bool, bool); void saveMarkers(const QString &id);