mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -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
|
@ -55,6 +55,8 @@
|
|||
#include "qinisettings.h"
|
||||
#include "proptabbar.h"
|
||||
|
||||
using namespace libtorrent;
|
||||
|
||||
PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, TransferListWidget *transferList):
|
||||
QWidget(parent), transferList(transferList), main_window(main_window) {
|
||||
|
||||
|
@ -248,7 +250,7 @@ void PropertiesWidget::loadTorrentInfos(QTorrentHandle &_h) {
|
|||
// Expand first item if possible
|
||||
filesList->expand(PropListModel->index(0, 0));
|
||||
}
|
||||
} catch(invalid_handle e) {
|
||||
} catch(invalid_handle& e) {
|
||||
|
||||
}
|
||||
// Load dynamic data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue