1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 09:15:33 +00:00

Fixed tabs

This commit is contained in:
FedeWar 2017-02-21 11:49:04 +01:00
parent 370c12e78a
commit 4e7f7cf84f

View file

@ -44,11 +44,11 @@ QVariant CSMTools::ReportModel::data (const QModelIndex & index, int role) const
{ {
case Column_Type: case Column_Type:
if(role == Qt::UserRole) if(role == Qt::UserRole)
return QString::fromUtf8 ( return QString::fromUtf8 (
mRows.at (index.row()).mId.getTypeName().c_str()); mRows.at (index.row()).mId.getTypeName().c_str());
else else
return static_cast<int> (mRows.at (index.row()).mId.getType()); return static_cast<int> (mRows.at (index.row()).mId.getType());
case Column_Id: case Column_Id:
{ {