core: replace SSRF_INFO macro by report_info()

The point of this macro is unclear. It just calls report_info()
anyway...

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-12 09:25:39 +01:00 committed by Dirk Hohndel
parent bfbf4934dd
commit 8980d61786
8 changed files with 79 additions and 80 deletions

View file

@ -231,7 +231,7 @@ QStringList DiveSiteSortedModel::allSiteNames() const
// (more precisely: the core has more sites than the model is aware of),
// we might get an invalid index.
if (idx < 0 || idx > divelog.sites->nr) {
SSRF_INFO("DiveSiteSortedModel::allSiteNames(): invalid index");
report_info("DiveSiteSortedModel::allSiteNames(): invalid index");
continue;
}
locationNames << QString(divelog.sites->dive_sites[idx]->name);