Make enum DataMeaning an enum class
This commit is contained in:
parent
dc97fa63e1
commit
db2594a87c
6 changed files with 11 additions and 11 deletions
|
|
@ -200,9 +200,9 @@ QVariant TablesTableModel::data(const QModelIndex &index, int role) const
|
|||
case TableSizeCol:
|
||||
case IndexSizeCol:
|
||||
case ToastSizeCol:
|
||||
return static_cast<int>(DataMeaningBytes);
|
||||
return static_cast<int>(DataMeaning::Bytes);
|
||||
default:
|
||||
return static_cast<int>(DataMeaningNormal);
|
||||
return static_cast<int>(DataMeaning::Normal);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue