1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

- Added some missing functions body :) **WIP** but I need to sleep now. Will resume tomorrow :)

This commit is contained in:
Christophe Dumez 2007-03-28 22:29:23 +00:00
parent 0dc4bdd646
commit 2772a41917

View File

@ -42,19 +42,19 @@ class UPnPHandler : public QThread {
private:
UpnpClient_Handle UPnPClientHandle;
QHash<QString, UPnPDevice> UPnPDevices;
QHash<QString, UPnPDevice*> UPnPDevices;
public:
UPnPHandler(){}
~UPnPHandler(){}
public slots:
void addUPnPDevice(struct Upnp_Discovery* device, IXML_Document *){
void addUPnPDevice(struct Upnp_Discovery* device, IXML_Document *doc){
UPnPDevices.insert(QString(device->DeviceId), new UPnPDevice(device, doc));
}
void removeUPnPDevice(QString device_id){
UPnPDevices.remove(device_id);
}
private: