Make enum DataMeaning an enum class
This commit is contained in:
parent
dc97fa63e1
commit
db2594a87c
6 changed files with 11 additions and 11 deletions
|
|
@ -133,9 +133,9 @@ QVariant IndexModel::data(const QModelIndex &index, int role) const
|
|||
else if (role == CustomDataMeaningRole) {
|
||||
switch (index.column()) {
|
||||
case SizeCol:
|
||||
return static_cast<int>(DataMeaningBytes);
|
||||
return static_cast<int>(DataMeaning::Bytes);
|
||||
default:
|
||||
return static_cast<int>(DataMeaningNormal);
|
||||
return static_cast<int>(DataMeaning::Normal);
|
||||
}
|
||||
}
|
||||
return v;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue