Browse Source

Declare AbstractFileStorage destructor virtual

adaptive-webui-19844
Vladimir Golovnev (Glassez) 4 years ago committed by Vladimir Golovnev
parent
commit
6c66d02aff
  1. 2
      src/base/bittorrent/abstractfilestorage.h

2
src/base/bittorrent/abstractfilestorage.h

@ -40,6 +40,8 @@ namespace BitTorrent @@ -40,6 +40,8 @@ namespace BitTorrent
Q_DECLARE_TR_FUNCTIONS(AbstractFileStorage)
public:
virtual ~AbstractFileStorage() = default;
virtual int filesCount() const = 0;
virtual QString filePath(int index) const = 0;
virtual QString fileName(int index) const = 0;

Loading…
Cancel
Save