best version so far to allow copy of data using a QTextEdit in comments (needs to enable the USE_NEW_DELEGATE #ifdef)

This commit is contained in:
csoler 2020-11-01 20:28:57 +01:00
parent a053bedca2
commit d868ee3e42
3 changed files with 82 additions and 54 deletions

View file

@ -146,7 +146,7 @@ void PostedPostDelegate::paint(QPainter * painter, const QStyleOptionViewItem &
painter->restore();
}
QSize PostedPostDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const
QSize PostedPostDelegate::sizeHint(const QStyleOptionViewItem&, const QModelIndex& index) const
{
// This is the only place where we actually set the size of cells