CLayerModel: Resolve sign conversion warning
This commit is contained in:
parent
c36f5e2e2b
commit
701120725e
|
@ -11,7 +11,7 @@ CLayerModel::~CLayerModel() = default;
|
||||||
|
|
||||||
int CLayerModel::rowCount(const QModelIndex& /*parent*/) const
|
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
|
QVariant CLayerModel::data(const QModelIndex &index, int role) const
|
||||||
|
|
Loading…
Reference in New Issue