Fix compilation on Windows (Remove using namespace libtorrent; from headers)

This commit is contained in:
Christophe Dumez 2010-11-22 21:55:32 +00:00
parent 61208fce13
commit 8a5dc1f239
33 changed files with 118 additions and 109 deletions

View file

@ -47,8 +47,6 @@
#define SIZE 1
#define PROGRESS 2
using namespace libtorrent;
class previewSelect: public QDialog, private Ui::preview {
Q_OBJECT
@ -105,7 +103,7 @@ public:
previewList->setItemDelegate(listDelegate);
previewList->header()->resizeSection(0, 200);
// Fill list in
std::vector<size_type> fp;
std::vector<libtorrent::size_type> fp;
h.file_progress(fp);
unsigned int nbFiles = h.num_files();
for(unsigned int i=0; i<nbFiles; ++i){