Commit 3f0c10bc authored by Laurent Montel's avatar Laurent Montel 😁

Remove virtual when not necessary

parent 01691c2b
......@@ -32,8 +32,8 @@ class AlarmListDelegate : public EventListDelegate
public:
explicit AlarmListDelegate(AlarmListView* parent = 0)
: EventListDelegate(parent) {}
virtual void paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
virtual QSize sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
void paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
QSize sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
void edit(KAEvent*, EventListView*) Q_DECL_OVERRIDE;
};
......
......@@ -55,7 +55,7 @@ class BirthdayModel : public Akonadi::ContactsTreeModel
*/
static BirthdayModel* instance();
virtual QVariant entityData(const Akonadi::Item&, int column, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
QVariant entityData(const Akonadi::Item&, int column, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
virtual QVariant entityData(const Akonadi::Collection& collection, int column, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE
{ return Akonadi::ContactsTreeModel::entityData(collection, column, role); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment