mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix compilation on Windows (Remove using namespace libtorrent; from headers)
This commit is contained in:
parent
61208fce13
commit
8a5dc1f239
33 changed files with 118 additions and 109 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue