Commit df6076cb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix potential crash found by coverty

parent 08dea308
......@@ -156,7 +156,9 @@ void CollectionStatisticsDelegate::initStyleOption(QStyleOptionViewItem *option,
qstyleoption_cast<QStyleOptionViewItemV4 *>(option);
QStyledItemDelegate::initStyleOption(noTextOption, index);
if (option->decorationPosition != QStyleOptionViewItem::Top) {
if (noTextOption) {
if (d->animator) {
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