X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsubprojectitem.cpp;h=ae6388b093a8eb9869b45ef1860b64295399c25a;hb=b165d7e4ed3625ca16d4e3c22a27aaad712af129;hp=b03ed5ca9e9eeae2c4951555309e80b622438ac6;hpb=5d4746e4c3e8665de83e6d281dcd08a46cd22c31;p=kdenlive diff --git a/src/subprojectitem.cpp b/src/subprojectitem.cpp index b03ed5ca..ae6388b0 100644 --- a/src/subprojectitem.cpp +++ b/src/subprojectitem.cpp @@ -33,7 +33,7 @@ const int DurationRole = Qt::UserRole + 1; const int itemHeight = 30; SubProjectItem::SubProjectItem(double display_ratio, QTreeWidgetItem * parent, int in, int out, const QString &description) : - QTreeWidgetItem(parent, PROJECTSUBCLIPTYPE), m_in(in), m_out(out), m_description(description) + QTreeWidgetItem(parent, ProjectSubclipType), m_in(in), m_out(out), m_description(description) { setSizeHint(0, QSize((int) (itemHeight * display_ratio) + 2, itemHeight + 2)); setFlags(Qt::ItemIsSelectable | Qt::ItemIsDragEnabled | Qt::ItemIsEnabled | Qt::ItemIsEditable | Qt::ItemIsDropEnabled);