mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Fix warning C4457 (declaration hides function parameter)
This commit is contained in:
parent
d70064efe4
commit
4290751010
@ -26,10 +26,10 @@ CSVWorld::ReferenceableCreator::ReferenceableCreator (CSMWorld::Data& data, QUnd
|
|||||||
for (std::vector<CSMWorld::UniversalId::Type>::const_iterator iter (types.begin());
|
for (std::vector<CSMWorld::UniversalId::Type>::const_iterator iter (types.begin());
|
||||||
iter!=types.end(); ++iter)
|
iter!=types.end(); ++iter)
|
||||||
{
|
{
|
||||||
CSMWorld::UniversalId id (*iter, "");
|
CSMWorld::UniversalId id2 (*iter, "");
|
||||||
|
|
||||||
mType->addItem (QIcon (id.getIcon().c_str()), id.getTypeName().c_str(),
|
mType->addItem (QIcon (id2.getIcon().c_str()), id2.getTypeName().c_str(),
|
||||||
static_cast<int> (id.getType()));
|
static_cast<int> (id2.getType()));
|
||||||
}
|
}
|
||||||
|
|
||||||
insertBeforeButtons (mType, false);
|
insertBeforeButtons (mType, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user