X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsubprojectitem.cpp;h=ae6388b093a8eb9869b45ef1860b64295399c25a;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=7b1f7450db93ac536663b68537d65bcebba08d6e;hpb=55b10ef4f3093b158c0dc910ac974e2bdf9ce00d;p=kdenlive diff --git a/src/subprojectitem.cpp b/src/subprojectitem.cpp index 7b1f7450..ae6388b0 100644 --- a/src/subprojectitem.cpp +++ b/src/subprojectitem.cpp @@ -26,14 +26,14 @@ #include -#include +#include #include 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);