- 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

@@ -179,7 +179,7 @@ class torrentAdditionDialog : public QDialog, private Ui_addTorrentDialog{
show();
}
void addFilesToTree(file *root, QStandardItem *parent) {
void addFilesToTree(torrent_file *root, QStandardItem *parent) {
QList<QStandardItem*> child;
// Name
QStandardItem *first;
@@ -201,7 +201,7 @@ class torrentAdditionDialog : public QDialog, private Ui_addTorrentDialog{
// Add the child to the tree
parent->appendRow(child);
// Add childs
file *childFile;
torrent_file *childFile;
foreach(childFile, root->getChildren()) {
addFilesToTree(childFile, first);
}