mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix compilation on Windows (Remove using namespace libtorrent; from headers)
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user