From 81778a0090baa6c0a92524a9bc06bcf1f74adec9 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 31 Oct 2010 08:55:15 +0000 Subject: [PATCH] Some more issues with virtual --- src/httpresponsegenerator.h | 2 +- src/scannedfoldersmodel.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;