GH-2802 remove extra remapping of indexes in VersionPage model
This commit is contained in:
parent
997c25620a
commit
9eaa636908
@ -61,7 +61,7 @@ public:
|
||||
|
||||
virtual QVariant data(const QModelIndex &proxyIndex, int role = Qt::DisplayRole) const override
|
||||
{
|
||||
QVariant var = QIdentityProxyModel::data(mapToSource(proxyIndex), role);
|
||||
QVariant var = QIdentityProxyModel::data(proxyIndex, role);
|
||||
int column = proxyIndex.column();
|
||||
if(column == 0 && role == Qt::DecorationRole && m_parentWidget)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user