mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
HackStudio: Sort the project tree alphabetically
I had to turn the tree nodes into RefCounted objects since it's not possible to quick_sort() a Vector<OwnPtr<T>> at the moment.
This commit is contained in:
parent
d9706ee882
commit
6e27b14a4a
2 changed files with 27 additions and 11 deletions
|
@ -40,7 +40,7 @@ private:
|
|||
String m_path;
|
||||
RefPtr<GModel> m_model;
|
||||
NonnullRefPtrVector<ProjectFile> m_files;
|
||||
OwnPtr<ProjectTreeNode> m_root_node;
|
||||
RefPtr<ProjectTreeNode> m_root_node;
|
||||
|
||||
GIcon m_directory_icon;
|
||||
GIcon m_file_icon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue