- Attempt to fix compilation on vc++

This commit is contained in:
Christophe Dumez
2008-02-03 10:43:12 +00:00
parent 1b7449ef4e
commit 8b576fcc50
4 changed files with 27 additions and 27 deletions

View File

@@ -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);
}