diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-02-12 12:18:41 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-02-12 12:19:42 +0100 |
commit | 1f4a6e5269fa04204ce5621244f214ba40b13c97 (patch) | |
tree | 42ef5cb9ecbdba316b0776b91095490c6b0313cc /src | |
parent | 21a7e301e178b7348730dcd742d20b510cabbf93 (diff) |
library/colordelegate: Mark ColorDelegate::paintItem as override
Diffstat (limited to 'src')
-rw-r--r-- | src/library/colordelegate.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/library/colordelegate.h b/src/library/colordelegate.h index 983ea26729..ac05accf83 100644 --- a/src/library/colordelegate.h +++ b/src/library/colordelegate.h @@ -11,5 +11,8 @@ class ColorDelegate : public TableItemDelegate { public: explicit ColorDelegate(QTableView* pTableView); - void paintItem(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; + void paintItem( + QPainter* painter, + const QStyleOptionViewItem& option, + const QModelIndex& index) const override; }; |