emit keyword is incompatible with oneTBB

This commit is contained in:
Dan Paulat 2023-06-05 21:53:24 -05:00
parent b9f55fbb4d
commit ea6134acea
24 changed files with 81 additions and 72 deletions

View file

@ -321,7 +321,7 @@ void AlertModel::HandleAlert(const types::TextEventKey& alertKey,
QModelIndex topLeft = createIndex(row, kFirstColumn);
QModelIndex bottomRight = createIndex(row, kLastColumn);
emit dataChanged(topLeft, bottomRight);
Q_EMIT dataChanged(topLeft, bottomRight);
}
}
@ -352,7 +352,7 @@ void AlertModel::HandleMapUpdate(double latitude, double longitude)
QModelIndex bottomRight =
createIndex(rowCount() - 1, static_cast<int>(Column::Distance));
emit dataChanged(topLeft, bottomRight);
Q_EMIT dataChanged(topLeft, bottomRight);
}
AlertModelImpl::AlertModelImpl() :

View file

@ -178,7 +178,7 @@ void RadarSiteModel::HandleMapUpdate(double latitude, double longitude)
QModelIndex topLeft = createIndex(0, kColumnDistance);
QModelIndex bottomRight = createIndex(rowCount() - 1, kColumnDistance);
emit dataChanged(topLeft, bottomRight);
Q_EMIT dataChanged(topLeft, bottomRight);
}
RadarSiteModelImpl::RadarSiteModelImpl() :

View file

@ -178,7 +178,7 @@ bool TreeModel::setData(const QModelIndex& index,
if (result)
{
emit dataChanged(index, index);
Q_EMIT dataChanged(index, index);
}
return result;