diff --git a/src/httpresponsegenerator.h b/src/httpresponsegenerator.h index fc856bc4f..9a850f3f6 100644 --- a/src/httpresponsegenerator.h +++ b/src/httpresponsegenerator.h @@ -44,7 +44,7 @@ class HttpResponseGenerator : public QHttpResponseHeader void setMessage(const QString message); void stripMessage(); void setContentTypeByExt(const QString ext); - virtual QByteArray toByteArray() const; + QByteArray toByteArray() const; }; #endif diff --git a/src/scannedfoldersmodel.h b/src/scannedfoldersmodel.h index 26066731d..35da569a5 100644 --- a/src/scannedfoldersmodel.h +++ b/src/scannedfoldersmodel.h @@ -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;