X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ffolderprojectitem.h;h=c49dfaae529fc642be61b74a9569c4aceac7886d;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=5f936b3d7af8e79ae249c9b9e2162c98a637d85c;hpb=cffb34aa7d334ab8cc284c1fd8c10ea59a06b11f;p=kdenlive diff --git a/src/folderprojectitem.h b/src/folderprojectitem.h index 5f936b3d..c49dfaae 100644 --- a/src/folderprojectitem.h +++ b/src/folderprojectitem.h @@ -39,11 +39,12 @@ public: QString clipId() const; const QString groupName() const; void setGroupName(const QString name); + void switchIcon(); /** Make sure folders appear on top of the tree widget */ virtual bool operator<(const QTreeWidgetItem &other)const { int column = treeWidget()->sortColumn(); - if (other.type() == PROJECTFOLDERTYPE) + if (other.type() == ProjectFoldeType) return text(column).toLower() < other.text(column).toLower(); else return true; }