]> git.sesse.net Git - kdenlive/blobdiff - src/folderprojectitem.h
Const'ref
[kdenlive] / src / folderprojectitem.h
index ea9b5e6202f84e50006a906b446fec912689b0cc..9d277a2f4a4cc39cd25c32723e413c7aecd8e086 100644 (file)
@@ -39,13 +39,14 @@ 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)
-         return text(column).toLower() < other.text(column).toLower();
-       else return true;
+        int column = treeWidget()->sortColumn();
+        if (other.type() == PROJECTFOLDERTYPE)
+            return text(column).toLower() < other.text(column).toLower();
+        else return true;
     }
 
 private: