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);
|
||||
|
|
|
@ -47,7 +47,7 @@ void MessageHandlerModel::addLog(QtMsgType type, const QString& message)
|
|||
beginInsertRows(QModelIndex(), rowCount(), rowCount());
|
||||
m_data.append({message, type});
|
||||
endInsertRows();
|
||||
SSRF_INFO("%s", qPrintable(message));
|
||||
report_info("%s", qPrintable(message));
|
||||
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
||||
writeToAppLogFile(message);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue