mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 21:52:32 -06:00
- Remove old folders after renaming
This commit is contained in:
@@ -492,7 +492,8 @@ public:
|
||||
return;
|
||||
}
|
||||
// Create parent folder
|
||||
TreeItem *current_parent = new TreeItem(misc::toQString(t.name()), parent);
|
||||
QString root_name = misc::toQString(t.file_at(0).path.string()).split('/').first();
|
||||
TreeItem *current_parent = new TreeItem(root_name, parent);
|
||||
//parent->appendChild(current_parent);
|
||||
TreeItem *root_folder = current_parent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user