| 878 | } |
| 879 | |
| 880 | void FileTreeModel::queueSortItem(FileTreeItem* item) |
| 881 | { |
| 882 | if (!m_sortingEnabled) { |
| 883 | return; |
| 884 | } |
| 885 | |
| 886 | if (item) { |
| 887 | m_sortItems.push_back(item); |
| 888 | } |
| 889 | |
| 890 | m_sortTimer.start(1); |
| 891 | } |
| 892 | |
| 893 | void FileTreeModel::sortItems() |
| 894 | { |