1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-14 00:37:58 +00:00

Declare destructor as virtual

This commit is contained in:
Christophe Dumez 2010-10-31 08:55:50 +00:00
parent 0ca7100168
commit 1d1b49205d

View File

@ -45,7 +45,7 @@ class ScanFoldersModel : public QAbstractTableModel {
public:
enum PathStatus { Ok, DoesNotExist, CannotRead, CannotWrite, AlreadyInList };
static ScanFoldersModel *instance(QObject *parent = 0);
~ScanFoldersModel();
virtual ~ScanFoldersModel();
virtual int rowCount(const QModelIndex & parent = QModelIndex()) const;
virtual int columnCount(const QModelIndex &parent = QModelIndex()) const;