move simplify call to drawing
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
This commit is contained in:
parent
1bf386603d
commit
1e48bf838d
3 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ void ProjectItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& o
|
|||
}
|
||||
|
||||
{ // Description painting
|
||||
auto description = index.data(UserDataTypes::DESCRIPTION).toString();
|
||||
auto description = index.data(UserDataTypes::DESCRIPTION).toString().simplified();
|
||||
|
||||
QTextLayout text_layout(description, opt.font);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue