mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:10:05 +00:00
emit keyword is incompatible with oneTBB
This commit is contained in:
parent
b9f55fbb4d
commit
ea6134acea
24 changed files with 81 additions and 72 deletions
|
|
@ -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() :
|
||||
|
|
|
|||
|
|
@ -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() :
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ bool TreeModel::setData(const QModelIndex& index,
|
|||
|
||||
if (result)
|
||||
{
|
||||
emit dataChanged(index, index);
|
||||
Q_EMIT dataChanged(index, index);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue