mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
move simplify call to drawing
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user