diff options
-rw-r--r-- | framework/src/domain/perioddayeventmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/domain/perioddayeventmodel.cpp b/framework/src/domain/perioddayeventmodel.cpp index bdbacc2f..2583bee1 100644 --- a/framework/src/domain/perioddayeventmodel.cpp +++ b/framework/src/domain/perioddayeventmodel.cpp | |||
@@ -261,7 +261,7 @@ QVariant PeriodDayEventModel::data(const QModelIndex &id, int role) const | |||
261 | return {}; | 261 | return {}; |
262 | } | 262 | } |
263 | } else { | 263 | } else { |
264 | auto day = id.internalId(); | 264 | auto day = static_cast<int>(id.internalId()); |
265 | SinkTrace() << "Fetching data for event on day" << day << "with role" | 265 | SinkTrace() << "Fetching data for event on day" << day << "with role" |
266 | << QMetaEnum::fromType<Roles>().valueToKey(role); | 266 | << QMetaEnum::fromType<Roles>().valueToKey(role); |
267 | Q_ASSERT(0 <= day && day < partitionedEvents.size()); | 267 | Q_ASSERT(0 <= day && day < partitionedEvents.size()); |