fix(frontend):最佳匹配的tooltip未显示换行符
This commit is contained in:
parent
9ff607afe1
commit
b46f7b641b
|
@ -62,7 +62,7 @@ QVariant BestListModel::data(const QModelIndex &index, int role) const
|
|||
return m_items.at(index.row()).name;
|
||||
}
|
||||
case Qt::ToolTipRole: {
|
||||
return m_items.at(index.row()).name;
|
||||
return m_items.at(index.row()).toolTip;
|
||||
}
|
||||
default:
|
||||
return QVariant();
|
||||
|
|
Loading…
Reference in New Issue