mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-03 03:36:10 +00:00
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
|
||||
{
|
||||
return mpArea ? mpArea->NumScriptLayers() : 0;
|
||||
return mpArea ? static_cast<int>(mpArea->NumScriptLayers()) : 0;
|
||||
}
|
||||
|
||||
QVariant CLayerModel::data(const QModelIndex &index, int role) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user