Hi,
I am trying to change the height of my rows with a custom item delegate.
I got this, but it doesn't work...

Qt Code:
  1. QSize ListItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index)
  2. {
  3. QSize size = QItemDelegate::sizeHint(option, index);
  4. size.setHeight(size.height()+10);
  5. return size;
  6. }
To copy to clipboard, switch view to plain text mode 

What am I doing wrong?

Thanks in advance,
Gillis