mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Attempt to fix compilation on vc++
This commit is contained in:
@@ -143,7 +143,7 @@ properties::~properties(){
|
||||
delete progressBar;
|
||||
}
|
||||
|
||||
void properties::addFilesToTree(file *root, QStandardItem *parent) {
|
||||
void properties::addFilesToTree(torrent_file *root, QStandardItem *parent) {
|
||||
QList<QStandardItem*> child;
|
||||
// Name
|
||||
QStandardItem *first;
|
||||
@@ -165,7 +165,7 @@ void properties::addFilesToTree(file *root, QStandardItem *parent) {
|
||||
// Add the child to the tree
|
||||
parent->appendRow(child);
|
||||
// Add childs
|
||||
file *childFile;
|
||||
torrent_file *childFile;
|
||||
foreach(childFile, root->getChildren()) {
|
||||
addFilesToTree(childFile, first);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user