GH-2802 remove extra remapping of indexes in VersionPage model

This commit is contained in:
Petr Mrázek 2020-05-17 19:56:59 +02:00
parent 997c25620a
commit 9eaa636908

View File

@ -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)
{