Commit e8d25892 authored by Volker Krause's avatar Volker Krause
Browse files

Fix ASAN unit test failure on the CI

No idea why checkIndex() lets a negative row pass there, or why that is
even coming in here, doesn't happen locally.
parent 05ff46fd
......@@ -104,7 +104,7 @@ int HealthCertificateManager::rowCount(const QModelIndex& parent) const
QVariant HealthCertificateManager::data(const QModelIndex &index, int role) const
if (!checkIndex(index)) {
if (!checkIndex(index) || index.row() < 0) {
return {};
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