/** 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: