mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Added virtual destructor to avoid memory leaks
This commit is contained in:
parent
dbbf26449c
commit
19368bcefa
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ public:
|
||||||
enum FileType {STREAM, FOLDER};
|
enum FileType {STREAM, FOLDER};
|
||||||
|
|
||||||
RssFile(): QObject() {}
|
RssFile(): QObject() {}
|
||||||
|
virtual ~RssFile() {};
|
||||||
|
|
||||||
virtual unsigned int getNbUnRead() const = 0;
|
virtual unsigned int getNbUnRead() const = 0;
|
||||||
virtual FileType getType() const = 0;
|
virtual FileType getType() const = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue