Commit edb885e9 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_FALLTHROUGH

parent b9dc5765
......@@ -324,6 +324,9 @@ QVariant EntityTreeModel::data(const QModelIndex &index, int role) const
}
}
// fall through.
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
}
default:
return entityData(collection, index.column(), role);
......@@ -372,6 +375,9 @@ QVariant EntityTreeModel::data(const QModelIndex &index, int role) const
}
}
// fall through.
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
}
default:
return entityData(item, index.column(), role);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment