Commit ce0a4ce3 authored by Ismael Asensio's avatar Ismael Asensio
Browse files

IconView: Remove duplicated tooltips

We have advanced nicer tooltips, so the default QWidget tooltip
automatically created from the role just duplicates this information

BUG: 409327
FIXED-IN: 5.25
parent 8284bb4c
Pipeline #178841 passed with stage
in 1 minute and 31 seconds
......@@ -76,9 +76,6 @@ QVariant MenuModel::data(const QModelIndex &index, int role) const
case Qt::DisplayRole:
theData.setValue(mi->name());
break;
case Qt::ToolTipRole:
theData.setValue(mi->comment());
break;
case Qt::DecorationRole:
theData = QVariant(QIcon::fromTheme(mi->iconName()));
break;
......
Supports Markdown
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