Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

virtual bool FolderProjectItem::operator< ( const QTreeWidgetItem &  other  )  const [inline, virtual]

Make sure folders appear on top of the tree widget

Definition at line 44 of file folderprojectitem.h.

                                                              {
        int column = treeWidget()->sortColumn();
        if (other.type() == PROJECTFOLDERTYPE)
            return text(column).toLower() < other.text(column).toLower();
        else return true;
    }


Generated by  Doxygen 1.6.0   Back to index