Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e635f60c authored by Yuri Chornoivan's avatar Yuri Chornoivan

Use the parameter readable and translatable name instead of its formal name...

Use the parameter readable and translatable name instead of its formal name for the color edit widget
parent e4457e6a
Pipeline #6692 passed with stage
in 18 minutes and 12 seconds
......@@ -89,7 +89,7 @@ ColorEditWidget::ColorEditWidget(std::shared_ptr<AssetParameterModel> model, QMo
: AbstractParamWidget(std::move(model), index, parent)
{
// setup the comment
QString name = m_model->data(m_index, AssetParameterModel::NameRole).toString();
QString name = m_model->data(m_index, Qt::DisplayRole).toString();
bool alphaEnabled = m_model->data(m_index, AssetParameterModel::AlphaRole).toBool();
QString color = m_model->data(m_index, AssetParameterModel::ValueRole).toString();
QString comment = m_model->data(m_index, AssetParameterModel::CommentRole).toString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment