Commit 5f4b100c authored by Volker Krause's avatar Volker Krause
Browse files

Sanity-check model indexes

CI unit tests seem to hit a problem here which doesn't occur locally.
parent 8f5f1218
Pipeline #102151 passed with stage
in 1 minute and 23 seconds
......@@ -104,6 +104,10 @@ int HealthCertificateManager::rowCount(const QModelIndex& parent) const
QVariant HealthCertificateManager::data(const QModelIndex &index, int role) const
if (!checkIndex(index)) {
return {};
const auto &v = m_certificates[index.row()];
switch (role) {
case Qt::DisplayRole:
Supports Markdown
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