CLayerModel: Resolve sign conversion warning

This commit is contained in:
Lioncash 2020-07-03 10:06:37 -04:00
parent c36f5e2e2b
commit 701120725e
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ CLayerModel::~CLayerModel() = default;
int CLayerModel::rowCount(const QModelIndex& /*parent*/) const
{
return mpArea ? mpArea->NumScriptLayers() : 0;
return mpArea ? static_cast<int>(mpArea->NumScriptLayers()) : 0;
}
QVariant CLayerModel::data(const QModelIndex &index, int role) const