mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
bfbf4934dd
commit
8980d61786
8 changed files with 79 additions and 80 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue