feat: update controller add sort

This commit is contained in:
semenov
2024-12-17 12:56:20 +03:00
parent b9f7ef3369
commit 7aeb9d8000
16 changed files with 165 additions and 340 deletions

View File

@@ -9,11 +9,17 @@ struct FileData
QString path;
QString hash;
bool operator==(const FileData& other)const{
bool operator==(const FileData& other)const
{
if(this->path==(other.path)) return true;
return false;
}
bool operator<(const FileData& data2) const
{
return this->hash == "FOLDER" && data2.hash !="FOLDER";
}
}; //путь
struct SAttribute