Git: Add override

Change-Id: Iae0779c1efa8b3b46cf504f7bda00d614a4a157e
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2015-04-12 22:55:59 +03:00
committed by Orgad Shaneh
parent aedfbd5710
commit 4eb2224f47
22 changed files with 79 additions and 79 deletions

View File

@@ -760,7 +760,7 @@ class ResetItemDelegate : public LogItemDelegate
{
public:
ResetItemDelegate(LogChangeWidget *widget) : LogItemDelegate(widget) {}
void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const
void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const override
{
if (index.row() < currentRow())
option->font.setStrikeOut(true);
@@ -777,7 +777,7 @@ public:
}
protected:
bool hasIcon(int row) const
bool hasIcon(int row) const override
{
return row <= currentRow();
}