summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-02-12 12:18:41 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-02-12 12:19:42 +0100
commit1f4a6e5269fa04204ce5621244f214ba40b13c97 (patch)
tree42ef5cb9ecbdba316b0776b91095490c6b0313cc /src
parent21a7e301e178b7348730dcd742d20b510cabbf93 (diff)
library/colordelegate: Mark ColorDelegate::paintItem as override
Diffstat (limited to 'src')
-rw-r--r--src/library/colordelegate.h5
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;
};