From 93ad7e889ea528508a4d3ab4041811cd0235aaf6 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 22 Jul 2008 14:40:01 +0000 Subject: [PATCH] - Commented ASSERT due to a little string encoding bug in libtorrent --- src/arborescence.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arborescence.h b/src/arborescence.h index 18621b886..1b9fdcc53 100644 --- a/src/arborescence.h +++ b/src/arborescence.h @@ -234,7 +234,7 @@ class arborescence { void addFile(QString path, size_type file_size, int index, float progress=0., int priority=1) { Q_ASSERT(root->isDir()); path = QDir::cleanPath(path); - Q_ASSERT(path.startsWith(root->path())); + //Q_ASSERT(path.startsWith(root->path())); QString relative_path = path.remove(0, root->path().size()); if(relative_path.at(0) ==QDir::separator()) relative_path.remove(0, 1);