Fixed tabs

coverity_scan^2
FedeWar 8 years ago
parent 370c12e78a
commit 4e7f7cf84f

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

Loading…
Cancel
Save